Skip to content

Update dependencies #139

Update dependencies

Update dependencies #139

Workflow file for this run

---
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