summaryrefslogtreecommitdiff
path: root/.github/workflows/unit_tests.yaml
diff options
context:
space:
mode:
authorAlec Scott <hi@alecbcs.com>2024-07-09 04:46:09 +0200
committerGitHub <noreply@github.com>2024-07-09 04:46:09 +0200
commit7c5fbee327f7735e1ac5a7cf1a55a292428f0690 (patch)
treed6ac8920ce70324b5b7cef0dcd51ceed73c0f7b0 /.github/workflows/unit_tests.yaml
parentb19c4cdcf66beb1c2386bec64e8071bc6d559ab1 (diff)
downloadspack-7c5fbee327f7735e1ac5a7cf1a55a292428f0690.tar.gz
spack-7c5fbee327f7735e1ac5a7cf1a55a292428f0690.tar.bz2
spack-7c5fbee327f7735e1ac5a7cf1a55a292428f0690.tar.xz
spack-7c5fbee327f7735e1ac5a7cf1a55a292428f0690.zip
Improve organization of CI workflow scripts and pip requirements (#45037)
Diffstat (limited to '.github/workflows/unit_tests.yaml')
-rw-r--r--.github/workflows/unit_tests.yaml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml
index d1b385c9e1..f474b8fcd2 100644
--- a/.github/workflows/unit_tests.yaml
+++ b/.github/workflows/unit_tests.yaml
@@ -72,7 +72,7 @@ jobs:
run: |
# Need this for the git tests to succeed.
git --version
- . .github/workflows/setup_git.sh
+ . .github/workflows/bin/setup_git.sh
- name: Bootstrap clingo
if: ${{ matrix.concretizer == 'clingo' }}
env:
@@ -118,7 +118,7 @@ jobs:
run: |
# Need this for the git tests to succeed.
git --version
- . .github/workflows/setup_git.sh
+ . .github/workflows/bin/setup_git.sh
- name: Run shell tests
env:
COVERAGE: true
@@ -147,7 +147,7 @@ jobs:
git --version
git config --global --add safe.directory /__w/spack/spack
git fetch --unshallow
- . .github/workflows/setup_git.sh
+ . .github/workflows/bin/setup_git.sh
useradd spack-test
chown -R spack-test .
- name: Run unit tests
@@ -178,7 +178,7 @@ jobs:
run: |
# Need this for the git tests to succeed.
git --version
- . .github/workflows/setup_git.sh
+ . .github/workflows/bin/setup_git.sh
- name: Run unit tests (full suite with coverage)
env:
COVERAGE: true
@@ -217,7 +217,7 @@ jobs:
SPACK_TEST_PARALLEL: 4
run: |
git --version
- . .github/workflows/setup_git.sh
+ . .github/workflows/bin/setup_git.sh
. share/spack/setup-env.sh
$(which spack) bootstrap disable spack-install
$(which spack) solve zlib
@@ -247,7 +247,7 @@ jobs:
python -m pip install --upgrade pip pywin32 setuptools pytest-cov clingo
- name: Create local develop
run: |
- ./.github/workflows/setup_git.ps1
+ ./.github/workflows/bin/setup_git.ps1
- name: Unit Test
run: |
spack unit-test -x --verbose --cov --cov-config=pyproject.toml