Skip to content

7th commit

7th commit #5

Workflow file for this run

name: PR Coverage Diff - CI
on:
pull_request:
jobs:
run-tests:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-versions:
- "3.11"
name: Test Job
runs-on: ${{matrix.os}}
steps:
- name: Checkout PR branch
uses: actions/checkout@v4
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: ${{matrix.python-versions}}
- name: Install dependencies
run: pip install pytest pytest-cov
- name: Run tests
run: pytest --cov
- name: Upload results to Codecov
run: |
# Replace `linux` below with the appropriate OS
# Options are `alpine`, `linux`, `macos`, `windows`
curl -Os https://cli.codecov.io/latest/linux/codecov

Check failure on line 35 in .github/workflows/test.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yaml

Invalid workflow file

You have an error in your yaml syntax on line 35
chmod +x codecov
./codecov --verbose upload-process --fail-on-error -t ${{ secrets.CODECOV_TOKEN }} -n 'service'-${{ github.run_id }} -F service -f coverage-service.xml