Skip to content

Upgrade the testmode pipeline script to just pipeline script -- Do not merge #883

Upgrade the testmode pipeline script to just pipeline script -- Do not merge

Upgrade the testmode pipeline script to just pipeline script -- Do not merge #883

name: Code coverage
on:
push:
branches:
- main
pull_request:
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: EpiAware
sparse-checkout-cone-mode: false
- name: Move EpiAware to root
run: mv EpiAware/* .
- uses: julia-actions/setup-julia@v1
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
with:
annotate: true
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v4
with:
file: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true