⬆️(deps): Bump sphinx from 7.2.6 to 7.3.7 #982
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: pupyl-ci | |
on: [push] | |
jobs: | |
pep8: | |
runs-on: ubuntu-latest | |
name: pep8 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Check conformance with PEP-8 using flake8 | |
run: | | |
pip install --upgrade pip | |
pip install flake8 | |
make flake8 | |
lint: | |
runs-on: ubuntu-latest | |
name: lint | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Linter with pylint | |
run: | | |
pip install --upgrade pip | |
pip install pylint | |
pip install . | |
make linter | |
static: | |
runs-on: ubuntu-latest | |
name: static-check | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Static type checking | |
run: | | |
pip install --upgrade pip | |
pip install mypy types-termcolor | |
make static-check | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
name: test | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Unit tests | |
run: | | |
pip install --upgrade pip | |
pip install pytest | |
pip install . | |
make test | |
coverage: | |
runs-on: ubuntu-latest | |
name: coverage | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Coverage report | |
run: | | |
pip install --upgrade pip | |
pip install pytest pytest-cov | |
pip install . | |
make coverage | |
- name: Uploads test coverage results to CodeCov | |
uses: codecov/codecov-action@v3 | |
with: | |
fail_ci_if_error: true |