fix: change runinteg flag #443
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
# This workflow will install OS dependencies and run a 'base' set of unit tests with Python 3.9 | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
name: Unit tests on macOS/Linux/Windows | |
on: | |
push: | |
pull_request: | |
branches: [ "dev", "main" ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9"] | |
os: ["macos-latest", "ubuntu-latest", "windows-latest"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Run Integration Tests # run only those tests marked runinteg & with no osmosis deps | |
run: | | |
pytest -m runinteg --ignore tests/osm/ --ignore tests/analyse_network | |
- name: Test with pytest # run only tests with no osmosis deps | |
run: | | |
pytest --ignore tests/osm/ --ignore tests/analyse_network |