Skip to content

Bump codecov/codecov-action from 4 to 5 #284

Bump codecov/codecov-action from 4 to 5

Bump codecov/codecov-action from 4 to 5 #284

name: Regression Test with Spack Support
on:
pull_request:
branches: [devel]
paths:
- 'buildtest/**'
- 'tests/**'
- '.github/workflows/spack_regression_test.yml'
- 'requirements.txt'
- 'pyproject.toml'
jobs:
buildtest_regtest_with_spack:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/[email protected]
- name: Set up Spack
uses: spack/setup-spack@v2
- name: Spack Regression Test
shell: spack-bash {0}
run: |
spack --version
whoami
spack find
source setup.sh
pip install pytest coverage
python $BUILDTEST_ROOT/buildtest/tools/unittests.py -c -p "-m spack"
returncode=$?
if [ $returncode != 0 ]; then exit $returncode; fi
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
verbose: true