diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2021-11-18 13:00:39 +0100 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2021-12-23 16:02:09 +0100 |
commit | 654f6839ebe33d64710b5e7f3c388539e84f8e35 (patch) | |
tree | 96ece0bd8ed778665a890c3e54119f7d748784cc /.github/workflows/unit_tests.yaml | |
parent | c8daa7218de7904151e61f2d9a1458e63b0e3363 (diff) | |
download | spack-654f6839ebe33d64710b5e7f3c388539e84f8e35.tar.gz spack-654f6839ebe33d64710b5e7f3c388539e84f8e35.tar.bz2 spack-654f6839ebe33d64710b5e7f3c388539e84f8e35.tar.xz spack-654f6839ebe33d64710b5e7f3c388539e84f8e35.zip |
ci: run style unit tests only if we target develop (#27472)
Some tests assume the base branch is develop, but this branch may not
have been checked out.
Diffstat (limited to '.github/workflows/unit_tests.yaml')
-rw-r--r-- | .github/workflows/unit_tests.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index 35722b9137..764a9cdcf0 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -211,6 +211,7 @@ jobs: git clone "${{ github.server_url }}/${{ github.repository }}.git" && cd spack git fetch origin "${{ github.ref }}:test-branch" git checkout test-branch + . .github/workflows/setup_git.sh bin/spack unit-test -x - name: Run unit tests (only package tests) if: ${{ needs.changes.outputs.with_coverage == 'false' }} @@ -223,6 +224,7 @@ jobs: git clone "${{ github.server_url }}/${{ github.repository }}.git" && cd spack git fetch origin "${{ github.ref }}:test-branch" git checkout test-branch + . .github/workflows/setup_git.sh bin/spack unit-test -x -m "not maybeslow" -k "package_sanity" # Test RHEL8 UBI with platform Python. This job is run |