Skip to content

Commit 099da1a

Browse files
authored
add a step to build PyCall (#722)
Co-authored-by: Christopher Doris <github.com/cjdoris>
1 parent 582d59c commit 099da1a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/tests.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
jobs:
1414
julia:
15-
name: Test Julia (${{ matrix.jlversion }}, ${{ matrix.os }}, ${{ matrix.pythonexe }})
15+
name: Julia (${{ matrix.jlversion }}, ${{ matrix.os }}, ${{ matrix.pythonexe }})
1616
runs-on: ${{ matrix.os }}
1717
strategy:
1818
fail-fast: false
@@ -42,6 +42,13 @@ jobs:
4242
uses: julia-actions/julia-buildpkg@v1
4343
env:
4444
PYTHON: python
45+
46+
- name: Build PyCall
47+
if: ${{ matrix.pythonexe == 'python' }}
48+
run: |
49+
julia --project=test -e 'import Pkg; Pkg.build("PyCall")'
50+
env:
51+
PYTHON: python
4552

4653
- name: Run tests
4754
uses: julia-actions/julia-runtest@v1
@@ -60,7 +67,7 @@ jobs:
6067
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
6168

6269
python:
63-
name: Test Python (${{ matrix.pyversion }}, ${{ matrix.os }}, ${{ matrix.juliaexe }})
70+
name: Python (${{ matrix.pyversion }}, ${{ matrix.os }}, ${{ matrix.juliaexe }})
6471
runs-on: ${{ matrix.os }}
6572
strategy:
6673
fail-fast: false

0 commit comments

Comments
 (0)