From fc7f7ab990678fa8e8d2f5cf986041b412a21c0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Louf?= Date: Sat, 22 Feb 2025 17:39:31 +0100 Subject: [PATCH] Do not run tests that require API key in CI --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 754a47873..5f127a642 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -52,7 +52,7 @@ jobs: echo "::set-output name=id::$MATRIX_ID" - name: Run tests run: | - uv run pytest -x --cov=outlines + uv run pytest -x --cov=outlines -m 'not api_call' env: COVERAGE_FILE: .coverage.${{ steps.matrix-id.outputs.id }} - name: Upload coverage data