Merge pull request #10 from ChrisgKent/dependabot/pip/requests-2.32.2 #19
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: CI | |
on: | |
push: | |
paths: | |
- "primal-page/**" | |
- "tests/**" | |
- "pyproject.toml" | |
- "poetry.lock" | |
- ".github/workflows/pytest.yml" | |
jobs: | |
ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.10", "3.11", "3.12"] | |
poetry-version: ["1.7.1"] | |
os: [ubuntu-22.04, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Run image | |
uses: abatilo/actions-poetry@v2 | |
with: | |
poetry-version: ${{ matrix.poetry-version }} | |
- name: Install with poetry | |
run: poetry install --without docs | |
- name: Poetry pytest | |
run: poetry run pytest |