Dockerfile setup #23
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: Pytest | |
on: | |
- push | |
- pull_request | |
jobs: | |
pytest: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python-version: | |
- "3.7" | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- run: pip install --upgrade setuptools | |
- run: pip install --upgrade wheel | |
- run: pip install pycodestyle | |
- run: pip install pydocstyle | |
- run: pip install pytest-cov | |
- run: pip install --upgrade importlib-metadata | |
- name: Style checks | |
run: make style | |
- name: Docstrings checks | |
run: make docs-style | |
- name: Unit tests | |
run: make unit_tests | |
- name: Unit tests coverage | |
run: make coverage |