From 942da4a514327008fd9d3f9a8d9a8eeb72335ada Mon Sep 17 00:00:00 2001 From: LKedward Date: Wed, 21 Jul 2021 14:08:30 +0100 Subject: [PATCH] Fix: codecov invocation --- .github/workflows/test.yml | 8 ++++++-- codecov.yml | 5 +++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 codecov.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 98a8108..29fff58 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ on: jobs: gfortran-nix: runs-on: ubuntu-latest - + steps: - name: Checkout code uses: actions/checkout@v1 @@ -36,9 +36,13 @@ jobs: - name: Run tests (debug) run: | + gfortran --version make -j test BUILD=debug - make clean + pushd test bash <(curl -s https://codecov.io/bash) + make clean + popd + make clean - name: Run tests (release) run: | diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..c788f0b --- /dev/null +++ b/codecov.yml @@ -0,0 +1,5 @@ +coverage: + status: + project: + default: + threshold: 7% \ No newline at end of file