Files
rp/.gitea/workflows/test.yml
T
retoor 78d720727f
Tests / test (push) Failing after 7s
maintenance: update project version to 1.37.0
maintenance: add automated tests to workflow
docs: update changelog with release notes
2025-11-08 03:25:41 +01:00

31 lines
650 B
YAML

name: Tests
on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
jobs:
test:
env:
PIP_BREAK_SYSTEM_PACKAGES: 1
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run tests with pytest
run: |
pytest --cov=pr --cov-report=xml --cov-report=term-missing
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false