From 7259450bcb2453314ea17320be4f1eed5362895c Mon Sep 17 00:00:00 2001 From: Christopher Doris Date: Fri, 14 Nov 2025 21:36:45 +0000 Subject: [PATCH] add a step to build PyCall --- .github/workflows/tests.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 373a9c29..8002fcd3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ on: jobs: julia: - name: Test Julia (${{ matrix.jlversion }}, ${{ matrix.os }}, ${{ matrix.pythonexe }}) + name: Julia (${{ matrix.jlversion }}, ${{ matrix.os }}, ${{ matrix.pythonexe }}) runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -42,6 +42,13 @@ jobs: uses: julia-actions/julia-buildpkg@v1 env: PYTHON: python + + - name: Build PyCall + if: ${{ matrix.pythonexe == 'python' }} + run: | + julia --project=test -e 'import Pkg; Pkg.build("PyCall")' + env: + PYTHON: python - name: Run tests uses: julia-actions/julia-runtest@v1 @@ -60,7 +67,7 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} python: - name: Test Python (${{ matrix.pyversion }}, ${{ matrix.os }}, ${{ matrix.juliaexe }}) + name: Python (${{ matrix.pyversion }}, ${{ matrix.os }}, ${{ matrix.juliaexe }}) runs-on: ${{ matrix.os }} strategy: fail-fast: false