| 1 |
name: Test osmapi package |
| 2 |
on: |
| 3 |
pull_request: |
| 4 |
push: |
| 5 |
branches: [main, develop] |
| 6 |
jobs: |
| 7 |
test: |
| 8 |
runs-on: ubuntu-latest |
| 9 |
timeout-minutes: 10 |
| 10 |
strategy: |
| 11 |
fail-fast: false |
| 12 |
matrix: |
| 13 |
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] |
| 14 |
|
| 15 |
steps: |
| 16 |
- uses: actions/checkout@v7 |
| 17 |
|
| 18 |
- name: Set up uv and Python ${{ matrix.python-version }} |
| 19 |
uses: astral-sh/[email protected] |
| 20 |
with: |
| 21 |
enable-cache: true |
| 22 |
python-version: ${{ matrix.python-version }} |
| 23 |
|
| 24 |
- name: Install dependencies |
| 25 |
run: uv sync |
| 26 |
|
| 27 |
- name: Test the package |
| 28 |
run: ./test.sh |