Skip to content

update github actions matrix #130

update github actions matrix

update github actions matrix #130

Workflow file for this run

name: CI
on: [pull_request, push]
jobs:
Test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: [1.9.4]
julia-arch: [x64]
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- julia-version: nightly
os: ubuntu-latest
- julia-version: 1.8.4
os: ubuntu-latest
- julia-version: 1.6.7
os: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia-version }}
- name: runtests
run: |
julia --project=. -e 'using Pkg; Pkg.test()'
Coverage:
needs: Test
if: github.event.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: coverage
run: |
julia --project=. -e 'using Pkg; Pkg.test(coverage=true)'
julia --project=. -e 'using Pkg; Pkg.add("Coverage"); using Coverage; cov = Coverage.process_folder(); mkdir("coverage"); Coverage.LCOV.writefile("coverage/lcov.info", cov)'
- uses: codecov/codecov-action@v1