#194 Merge pull request from deshima-dev/astropenguin/issue193 #144
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
- deshima2.0 | |
pull_request: | |
branches: | |
- main | |
- deshima2.0 | |
jobs: | |
job: | |
name: Test (Python ${{ matrix.python }}) | |
runs-on: ubuntu-latest | |
env: | |
POETRY_VIRTUALENVS_CREATE: false | |
strategy: | |
fail-fast: false | |
matrix: | |
python: ["3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- uses: abatilo/actions-poetry@v3 | |
with: | |
poetry-version: "1.8.3" | |
- run: poetry install | |
- run: black --check decode docs tests | |
- run: pyright decode docs tests | |
- run: pytest -v tests | |
- run: docs/build |