Skip to content

Update linting and type checks. #11

Update linting and type checks.

Update linting and type checks. #11

Workflow file for this run

name: Test
on: push
jobs:
Test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
defaults:
run:
shell: bash
name: ${{ matrix.os }} with py${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python ${{ matrix.python-version }}
uses: bigladder/github-actions/setup-python-poetry@main
with:
python-version: ${{ matrix.python-version }}
- name: Lint with Pylint
run: |
poetry run pylint atheneum #'${{github.workspace}}
poetry run pylint test/*.py
continue-on-error: true
- name: Static type checking
run: |
poetry run mypy atheneum #'${{github.workspace}}
continue-on-error: true
- name: Test
run: |
source $VENV
poetry run pytest