Skip to content

Commit dcf2331

Browse files
Run the PyMEOS-free unit tests in CI
Add a unit-tests job to the Python checks workflow that installs pytest and pyarrow and runs tests/test_bulk.py, so the bulk parsing and decompression coverage runs on every push and pull request.
1 parent 7ebf4d3 commit dcf2331

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/python.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,16 @@ jobs:
3939
python -c "from resource.collections import Create, Retrieve"
4040
python -c "from resource.moving_features import Create, Retrieve"
4141
python -c "from resource.temporal_geom_query import distance, velocity, acceleration"
42+
43+
unit-tests:
44+
name: Unit tests (PyMEOS-free)
45+
runs-on: ubuntu-latest
46+
steps:
47+
- uses: actions/checkout@v4
48+
- uses: actions/setup-python@v5
49+
with:
50+
python-version: "3.11"
51+
- name: Install test dependencies
52+
run: pip install pytest pyarrow
53+
- name: Run unit tests
54+
run: python -m pytest tests/test_bulk.py -v

0 commit comments

Comments
 (0)