fix: improve error handling (#24) #91
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: Python CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
python: | |
name: Python Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
rust: | |
- stable | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- uses: extractions/setup-just@v1 | |
- name: Install poetry | |
run: pipx install poetry | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
cache: 'poetry' | |
- run: poetry install | |
- run: | | |
poetry run mypy --install-types -m extism --non-interactive | |
- name: Run Python lint | |
run: | | |
just lint | |
- name: Run Python tests | |
run: | | |
just test | |
- name: Run Python docs | |
run: | | |
just docs |