Skip to content

Commit 0255a95

Browse files
fix: use the binary
1 parent 022871a commit 0255a95

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ jobs:
1919
- name: Upload test results to Codecov
2020
if: ${{ !cancelled() }}
2121
run: |
22-
pip install sentry-prevent-cli
23-
sentry-prevent-cli upload --report-type test-results
22+
curl -LOs https://github.com/getsentry/prevent-cli/releases/latest/download/sentry-prevent-cli_arm64
23+
chmod u+x sentry-prevent-cli_linux-arm64
24+
./sentry-prevent-cli_macos_arm64 -v upload --report-type test-results
2425
env:
2526
PREVENT_TOKEN: ${{ secrets.PREVENT_TOKEN }}

app/test_calculator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def test_flaky():
88
assert random.random() <= 0.8
99

1010
def test_fail_1():
11-
assert True is True
11+
assert True is False
1212

1313
def test_fail_2():
1414
assert True is False

0 commit comments

Comments
 (0)