Merge pull request #49 from volfpeter/page-decorator-response-handlin… #88
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 | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
jobs: | |
Linters: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
# Issue ref: https://github.com/actions/setup-python/issues/436 | |
# cache: "pip" | |
cache-dependency-path: pyproject.toml | |
python-version-file: pyproject.toml | |
- name: Install poetry | |
run: python3 -m pip install poetry | |
- name: Install dependencies | |
run: poetry install | |
- name: Run tests | |
run: poetry run poe test |