Skip to content

Dev

Dev #174

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ['1.8', '1.10']
julia-arch: [x64]
os: [ubuntu-latest, macOS-latest]
steps:
- name: Install matplotlib
run: if [ "$RUNNER_OS" = "Linux" ]; then sudo apt-get update; sudo apt-get install -y python3-matplotlib --fix-missing; fi
shell: bash
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
- name: Override Conda Python
run: if [ "$RUNNER_OS" = "Linux" ]; then julia -e 'import Pkg; Pkg.add("PyCall"); ENV["PYTHON"]="/usr/bin/python3"; Pkg.build("PyCall")'; fi
shell: bash
# - uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1