From f8c1e544f7ea586e9f36c2f82d57fb3550748007 Mon Sep 17 00:00:00 2001 From: "George G. Vega Yon" Date: Thu, 6 Jun 2024 10:18:50 -0600 Subject: [PATCH] Separating coverage --- .github/workflows/ci.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 174b2a9a..31cc8831 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: runs-on: Ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Check env: @@ -31,7 +31,7 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Check run: | @@ -53,21 +53,23 @@ jobs: cd tests make main.o ./main.o - + + coverage: + runs-on: ubuntu-latest + container: gvegayon/epiworld:latest + + steps: + - uses: actions/checkout@v4 + - name: Generate coverage run: | cd tests make coverage - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v4 with: files: tests/gcov-files/* # optional # flags: unittests # optional name: codecov-umbrella # optional fail_ci_if_error: true # optional (default = false) - verbose: true # optional (default = false) - - - - - + verbose: true # optional (default = false) \ No newline at end of file