Deploy-20231004 #162
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/pytest.yml | |
name: PyTest | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: "3.x" | |
- name: Install pytest dependencies | |
run: | | |
sudo apt-get install libgeos-dev | |
python -m pip install --upgrade pip | |
python -m pip install --upgrade setuptools wheel | |
pip install -r requirements-dev.txt | |
pip install -e . | |
- name: Run tests | |
run: pytest |