Skip to content

fix: try prevent #309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Workflow for Codecov example-python
name: Workflow for Prevent example-python
on: [push, pull_request]
jobs:
run:
Expand All @@ -16,26 +16,26 @@ jobs:
run: pip install -r requirements.txt
- name: Run tests and collect coverage
run: pytest --cov app
- name: Upload coverage to Codecov (arg token)
uses: codecov/codecov-action@main
- name: Upload coverage to Prevent (arg token)
uses: getsentry/prevent-action@main
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
token: ${{ secrets.PREVENT_TOKEN }}
verbose: true
- name: Upload coverage to Codecov (env token)
uses: codecov/codecov-action@main
- name: Upload coverage to Prevent (env token)
uses: getsentry/prevent-action@main
with:
fail_ci_if_error: true
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Upload coverage to Codecov (no token)
uses: codecov/codecov-action@main
PREVENT_TOKEN: ${{ secrets.PREVENT_TOKEN }}
- name: Upload coverage to Prevent (no token)
uses: getsentry/prevent-action@main
with:
fail_ci_if_error: true
verbose: true
- name: Upload coverage to Codecov (oidc)
uses: codecov/codecov-action@main
- name: Upload coverage to Prevent (oidc)
uses: getsentry/prevent-action@main
with:
fail_ci_if_error: true
use_oidc: true
Expand Down