Skip to content

Commit

Permalink
fix: Improving structure of CI for type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
constantinius committed Nov 25, 2021
1 parent 8c6d0ce commit fb755a3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,20 @@ jobs:
name: Setup Python ${{ matrix.python-version }}
with:
python-version: ${{ matrix.python-version }}
- name: Install requirements 📦
- name: Install requirements
run: |
sudo apt-get update
sudo apt-get install -y binutils libproj-dev gdal-bin libgdal-dev libsqlite3-mod-spatialite spatialite-bin
pip install -r requirements-test.txt
pip install -r requirements-dev.txt
pip install pygdal=="`gdal-config --version`.*"
pip install .
- name: Run unit tests ⚙️
mypy --install-types pygeofilter
- name: Run unit tests
run: |
pytest
flake8 pygeofilter tests
- name: Run type checking
run: |
mypy pygeofilter

0 comments on commit fb755a3

Please sign in to comment.