Add support for specifying a file path via -f/--file when loading buildspec into cache #246
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v4 | |
with: | |
verbose: true |