Skip to content

Merge pull request #108 from smkent/manage-cookie #140

Merge pull request #108 from smkent/manage-cookie

Merge pull request #108 from smkent/manage-cookie #140

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