Update coverage setting propagation for tracked path mode (#25) #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'release-' | |
tags: '*' | |
pull_request: | |
jobs: | |
test: | |
name: Julia ${{ matrix.version }} - ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
version: | |
- '1.6' | |
- '1' | |
- 'nightly' | |
os: | |
- ubuntu-latest | |
- macos-latest | |
# - windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: ${{ matrix.version }} | |
- name: "Pkg.instantiate and install cli" | |
run: | | |
echo "${PWD}/bin" >> $GITHUB_PATH | |
julia --project -e 'using Pkg; Pkg.instantiate()' | |
julia --project -e 'using jlpkg; jlpkg.install(; command = "jlpkg-ci", destdir = joinpath(pwd(), "bin"))' | |
- name: "Run tests (Unix)" | |
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' | |
run: jlpkg-ci --project test --coverage | |
- name: "Run tests (Windows)" | |
if: matrix.os == 'windows-latest' | |
run: cmd /c jlpkg-ci --project test --coverage | |
- uses: julia-actions/julia-processcoverage@v1 | |
- uses: codecov/codecov-action@v2 | |
with: | |
files: lcov.info |