Skip to content

Commit

Permalink
Disable telemetry on CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Helios-vmg committed Jan 31, 2025
1 parent 2afdf2d commit af62540
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test-detectors-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ jobs:
key: ${{ runner.os }}-tests-${{ hashFiles('**/Cargo.toml', 'apps/cargo-scout-audit/src/**/*.rs') }}
restore-keys: ${{ runner.os }}-tests-

- name: Disable telemetry
run: |
mkdir -p ~/.scout-audit/telemetry
echo "DONOTTRACK" > ~/.scout-audit/telemetry/user_id.txt
- name: Run unit and integration tests
run: python scripts/run-tests.py --detector=${{ matrix.detector }}

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test-scout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ jobs:
- name: Install clippy-sarif and cargo-nextest
run: cargo install clippy-sarif cargo-nextest --locked

- name: Disable telemetry
run: |
mkdir -p ~/.scout-audit/telemetry
echo "DONOTTRACK" > ~/.scout-audit/telemetry/user_id.txt
- name: Run tests and set output
id: run-tests
working-directory: apps/cargo-scout-audit
Expand Down

0 comments on commit af62540

Please sign in to comment.