From 7195218550f2c4a689ccacded6dde49808226861 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 e8e70910c..9390f8769 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -51,7 +51,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