Remove pylint artifacts #299
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: Testing | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Select Python 3.11 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11 | |
architecture: x64 | |
- name: Install Dependencies | |
run: | | |
python -m pip install -U pip | |
python -m pip install wheel | |
python -m pip install poetry | |
poetry install | |
- name: Run linting | |
run: poetry run nox -s lint | |
- name: Run static type checking | |
run: poetry run nox -s typecheck | |
tests: | |
needs: [lint] | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup, Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install Dependencies | |
run: | | |
python -m pip install -U pip | |
python -m pip install wheel | |
python -m pip install poetry | |
poetry install | |
- name: Run Tests | |
run: poetry run nox -s tests | |
coverage: | |
needs: [lint] | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Select Python 3.11 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11 | |
architecture: x64 | |
- name: Install Dependencies | |
run: | | |
python -m pip install -U pip | |
python -m pip install wheel | |
python -m pip install poetry | |
poetry install | |
- name: Run Coverage | |
env: | |
WITH_COVERAGE: true | |
run: poetry run nox -s coverage |