From 9530a7f97fa1370213ccccbb26e96bef3832d82d Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Fri, 1 Nov 2024 18:02:10 -0600 Subject: [PATCH] Properly set the array API version on CI --- .github/workflows/array-api-tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/array-api-tests.yml b/.github/workflows/array-api-tests.yml index 36ef85c..9f168cb 100644 --- a/.github/workflows/array-api-tests.yml +++ b/.github/workflows/array-api-tests.yml @@ -49,6 +49,7 @@ jobs: run: | # Parameterizing this in the CI matrix is wasteful. Just do a loop here. for ARRAY_API_STRICT_API_VERSION in ${API_VERSIONS}; do + export ARRAY_API_STRICT_API_VERSION cd ${GITHUB_WORKSPACE}/array-api-tests pytest array_api_tests/ --skips-file ${GITHUB_WORKSPACE}/array-api-strict/array-api-tests-xfails.txt ${PYTEST_ARGS} done