Skip to content

Bump actions/checkout from 4 to 6 #34

Bump actions/checkout from 4 to 6

Bump actions/checkout from 4 to 6 #34

Workflow file for this run

name: CodeCov
on:
push:
branches:
- main
- trying
- staging
tags: '*'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Julia
uses: julia-actions/setup-julia@v2
with:
version: '1.12'
- name: Test with coverage
env:
JULIA_PROJECT: "@."
run: |
julia --project=@. -e 'using Pkg; Pkg.instantiate()'
julia --project=@. -e 'using Pkg; Pkg.test(coverage=true)'
- name: Generate coverage file
env:
JULIA_PROJECT: "@."
run: |
julia --project=@. -e 'using Pkg; Pkg.add("Coverage");
using Coverage;
LCOV.writefile("coverage-lcov.info", Codecov.process_folder())'
if: success()
- name: Submit coverage
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage-lcov.info
if: success()