-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (27 loc) · 939 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Run tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install system packages
run: |
sudo apt-get -qq update
sudo apt-get install -y spatialite-bin libsqlite3-mod-spatialite
- name: 'Build, Test, Lint: ${{ matrix.python-version }}'
uses: chris48s/python-package-shared@main
with:
python-version: ${{ matrix.python-version }}
pre-install: flit
write-badges:
needs: build
uses: chris48s/python-package-shared/.github/workflows/write-badges-pep621.yml@wip
#if: ${{ always() && github.event_name == 'push' && github.ref == 'refs/heads/master'}}
with:
build_result: ${{ needs.build.result }}
package_dir: 'geometry_to_spatialite'