Add more tooling options. #3
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: 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"] | |
path: | |
- 'atheneum' #'${{github.workspace}}' | |
- 'test/*.py' | |
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 ${{ matrix.path }} | |
# - name: Static type checking | |
# run: | | |
# poetry run mypy ${{ matrix.path }} | |
- name: Test | |
run: | | |
source $VENV | |
poetry run pytest | |