Skip to content

Commit

Permalink
Check CodeCov output (#8)
Browse files Browse the repository at this point in the history
* change the codecov setting based on https://github.com/marketplace/actions/codecov

* remove unused option

* trigger workflow on main branch

* bug fix for workflow

---------

Co-authored-by: Jian Sun <sunjian@ucar.edu>
  • Loading branch information
sjsprecious and sjsprecious authored Jun 7, 2024
1 parent 42877c4 commit 2119756
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/CPU_Beltrami_build_run.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Samurai CPU test with Beltrami

on: [pull_request, workflow_dispatch]
on:
workflow_dispatch:
branches: [ "main" ]
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
docker-build-and-test:
Expand Down Expand Up @@ -38,7 +44,8 @@ jobs:

- name: Upload coverage reports to Codecov
if: matrix.dockerfile == 'Dockerfile.coverage'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.info
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

0 comments on commit 2119756

Please sign in to comment.