Thanks to visit codestin.com
Credit goes to github.com

Skip to content

do the thing

do the thing #30

Workflow file for this run

name: Workflow for Codecov example-python
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run tests and collect coverage
run: pytest --cov app --junitxml=junit.xml -o junit_family=legacy
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
run: |
pip install sentry-prevent-cli
sentry-prevent-cli -v upload --report-type test-results
env:
PREVENT_TOKEN: ${{ secrets.PREVENT_TOKEN }}