diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 2a4f3c2..8daeba2 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -36,12 +36,10 @@ jobs: - name: Build code and run unit tests run: | - spack env activate -d tests - eval `spack env activate --sh tests` - ./prepare.sh - ./configure --enable-coverage --prefix=`pwd` + eval `spack env activate --sh tests` && + ./prepare.sh && + ./configure --enable-coverage --prefix=`pwd` && make check - make clean - uses: codecov/codecov-action@v3 with: