1
0
Fork 0
xdg-base-dirs/.github/workflows/ci.yml
Daniel Baumann 77c49e5821
Adding upstream version 6.0.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-04 22:43:32 +02:00

39 lines
768 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
checks:
name: Run checks
runs-on: ubuntu-latest
strategy:
matrix:
python:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python3 -m pip install coverage poetry
poetry install
- name: Run checks
run: poetry run poe check
- name: Create XML coverage report
run: poetry run coverage xml
- name: Upload test coverage report
uses: codecov/codecov-action@v4.6.0