From f56d1440fd61011c1404af8b594f67a8bfad0fd8 Mon Sep 17 00:00:00 2001 From: Michael O'Keefe Date: Wed, 20 Nov 2024 17:02:09 -0700 Subject: [PATCH] Correct matrix variable path --- .github/workflows/build_and_test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index bbdf93d0..d09a61e7 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -70,12 +70,12 @@ jobs: - name: run pytest run: pytest -v - - name: build ${{ matrix.platform || matrix.os }} binaries + - name: build ${{ matrix.platform || matrix.os.base }} binaries run: cibuildwheel --output-dir dist env: CIBW_BUILD: "cp3${{ matrix.python-version }}-*" CIBW_SKIP: "*-win32 *-musllinux* *i686 *ppc64le *s390x *aarch64" - CIBW_PLATFORM: ${{ matrix.platform || matrix.os }} + CIBW_PLATFORM: ${{ matrix.platform || matrix.os.base }} # TODO: why doesn't pytest work with cibuildwheel? # CIBW_TEST_COMMAND: "pytest -v {project}/python/fastsim/tests" CIBW_TEST_COMMAND: "python -m unittest discover {project}/python/fastsim/tests"