From 47ad8d5b7a3becf311e09333201694923621ccf0 Mon Sep 17 00:00:00 2001 From: ShouvikGhosh2048 Date: Fri, 6 Jan 2023 21:55:18 +0530 Subject: [PATCH] Added codecov to ci --- .github/workflows/ci.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12287c4..4774a3a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,4 +22,19 @@ jobs: - name: Install test dependencies run: julia --project=test/ -e 'using Pkg; Pkg.instantiate()' - name: Run tests - run: julia --project=. -e 'using Pkg; Pkg.test()' \ No newline at end of file + run: julia --project=. -e 'using Pkg; Pkg.test()' + codecov: + name: Code Coverage + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@latest + with: + version: '1' + - uses: julia-actions/cache@v1 + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 + - uses: julia-actions/julia-processcoverage@v1 + - uses: codecov/codecov-action@v1 + with: + file: lcov.info \ No newline at end of file