fix: allowlist tests/ in gitleaks, add libopus for CI test job
Some checks failed
CI / gitleaks (push) Successful in 12s
CI / lint (push) Successful in 18s
CI / test (3.11) (push) Successful in 2m5s
CI / test (3.12) (push) Successful in 2m5s
CI / test (3.13) (push) Successful in 2m3s
CI / build (push) Failing after 12s

- gitleaks flagged fake api_key in test fixtures as a secret leak;
  allowlist tests/ directory since it contains only mock data
- Install libopus0 in test runner for pymumble/opuslib import chain

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
user
2026-02-22 06:09:28 +01:00
parent 6e40daa8a9
commit 3dada3fc06
2 changed files with 3 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: sudo apt-get update && sudo apt-get install -y libopus0
- run: pip install -e . && pip install pymumble pytest
- run: pytest -v

2
.gitleaks.toml Normal file
View File

@@ -0,0 +1,2 @@
[allowlist]
paths = ["tests/"]