Tests for Mapping Manager #579
Workflow file for this run
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
name: Run Tests (On Push) | |
on: | |
push: | |
env: | |
LOG_CONFIG: test | |
jobs: | |
run-tests-3_9: | |
runs-on: ubuntu-20.04 | |
name: Pytest on Python 3.9 / Ubuntu 20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
cache: 'pip' | |
- run: pip install --upgrade pip | |
- run: pip install poetry | |
- run: poetry install --with dev --extras server | |
- run: poetry run pytest tests/ --show-capture=stdout | |
run-tests-3_10: | |
runs-on: ubuntu-latest | |
name: Pytest on Python 3.10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
cache: 'pip' | |
- run: pip install --upgrade pip | |
- run: pip install poetry | |
- run: poetry install --with dev --extras server | |
- run: poetry run pytest tests/ --show-capture=stdout | |
run-tests-3_11: | |
runs-on: ubuntu-latest | |
name: Pytest on Python 3.11 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
cache: 'pip' | |
- run: pip install --upgrade pip | |
- run: pip install poetry | |
- run: poetry install --with dev --extras server | |
- run: poetry run pytest tests/ --show-capture=stdout | |
run-mypy-3_10: | |
runs-on: ubuntu-latest | |
name: MyPy checks on Python 3.10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
cache: 'pip' | |
- run: pip install --upgrade pip | |
- run: pip install poetry | |
- run: poetry install --with dev --extras server | |
- run: poetry run mypy src/ |