Update dependencies #299
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 | |
env: | |
ENABLE_COVERAGE: true | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
Test: | |
name: Python ${{ matrix.python-version }}, Poetry ${{ matrix.poetry-version }} | |
strategy: | |
matrix: | |
os: | |
- Ubuntu | |
python-version: | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
poetry-version: | |
- "1.6" | |
runs-on: ${{ matrix.os }}-latest | |
steps: | |
- name: 💾 Check out repository | |
uses: actions/checkout@v3 | |
- name: 🐍 Set up Python project with Poetry | |
uses: ./.github/workflows/actions/python-poetry | |
with: | |
python_version: ${{ matrix.python-version }} | |
poetry_version: ${{ matrix.poetry-version }} | |
- name: 🔥 Test | |
run: poetry run poe test | |
- name: 🚒 Create test summary | |
uses: test-summary/action@v1 | |
if: success() || failure() | |
with: | |
paths: ./.pytest_results.xml | |
- name: 📊 Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
if: ${{ env.ENABLE_COVERAGE == 'true' }} | |
with: | |
fail_ci_if_error: true | |
files: ./.pytest_coverage.xml | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: false |