diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 60cacf95..e8b41623 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -41,6 +41,8 @@ jobs: - name: Run Benchmark working-directory: backend + env: + CHARON_ENCRYPTION_KEY: ${{ secrets.CHARON_ENCRYPTION_KEY_TEST }} run: go test -bench=. -benchmem -run='^$' ./... | tee output.txt - name: Store Benchmark Result @@ -69,6 +71,7 @@ jobs: PERF_MAX_MS_GETSTATUS_P95: 500ms PERF_MAX_MS_GETSTATUS_P95_PARALLEL: 1500ms PERF_MAX_MS_LISTDECISIONS_P95: 2000ms + CHARON_ENCRYPTION_KEY: ${{ secrets.CHARON_ENCRYPTION_KEY_TEST }} run: | echo "## 🔍 Running performance assertions (TestPerf)" >> "$GITHUB_STEP_SUMMARY" go test -run TestPerf -v ./internal/api/handlers -count=1 | tee perf-output.txt diff --git a/.github/workflows/codecov-upload.yml b/.github/workflows/codecov-upload.yml index fff6580f..57637838 100644 --- a/.github/workflows/codecov-upload.yml +++ b/.github/workflows/codecov-upload.yml @@ -54,6 +54,7 @@ jobs: working-directory: ${{ github.workspace }} env: CGO_ENABLED: 1 + CHARON_ENCRYPTION_KEY: ${{ secrets.CHARON_ENCRYPTION_KEY_TEST }} run: | bash scripts/go-test-coverage.sh 2>&1 | tee backend/test-output.txt exit "${PIPESTATUS[0]}" diff --git a/.github/workflows/quality-checks.yml b/.github/workflows/quality-checks.yml index 4a0b7c6f..97a29c1f 100644 --- a/.github/workflows/quality-checks.yml +++ b/.github/workflows/quality-checks.yml @@ -39,6 +39,7 @@ jobs: working-directory: ${{ github.workspace }} env: CGO_ENABLED: 1 + CHARON_ENCRYPTION_KEY: ${{ secrets.CHARON_ENCRYPTION_KEY_TEST }} run: | bash "scripts/go-test-coverage.sh" 2>&1 | tee backend/test-output.txt exit "${PIPESTATUS[0]}" @@ -117,6 +118,7 @@ jobs: PERF_MAX_MS_GETSTATUS_P95: 500ms PERF_MAX_MS_GETSTATUS_P95_PARALLEL: 1500ms PERF_MAX_MS_LISTDECISIONS_P95: 2000ms + CHARON_ENCRYPTION_KEY: ${{ secrets.CHARON_ENCRYPTION_KEY_TEST }} run: | { echo "## 🔍 Running performance assertions (TestPerf)"