Remove hard-coded repository in centos6 unit test (#26885)
This makes it easier to run tests in a fork.
This commit is contained in:
parent
d1d0021647
commit
7cec6476c7
8
.github/workflows/unit_tests.yaml
vendored
8
.github/workflows/unit_tests.yaml
vendored
@ -228,8 +228,8 @@ jobs:
|
|||||||
SPACK_TEST_SOLVER: original
|
SPACK_TEST_SOLVER: original
|
||||||
run: |
|
run: |
|
||||||
whoami && echo $HOME && cd $HOME
|
whoami && echo $HOME && cd $HOME
|
||||||
git clone https://github.com/spack/spack.git && cd spack
|
git clone "${{ github.server_url }}/${{ github.repository }}.git" && cd spack
|
||||||
git fetch origin ${{ github.ref }}:test-branch
|
git fetch origin "${{ github.ref }}:test-branch"
|
||||||
git checkout test-branch
|
git checkout test-branch
|
||||||
bin/spack unit-test -x
|
bin/spack unit-test -x
|
||||||
- name: Run unit tests (only package tests)
|
- name: Run unit tests (only package tests)
|
||||||
@ -240,8 +240,8 @@ jobs:
|
|||||||
SPACK_TEST_SOLVER: original
|
SPACK_TEST_SOLVER: original
|
||||||
run: |
|
run: |
|
||||||
whoami && echo $HOME && cd $HOME
|
whoami && echo $HOME && cd $HOME
|
||||||
git clone https://github.com/spack/spack.git && cd spack
|
git clone "${{ github.server_url }}/${{ github.repository }}.git" && cd spack
|
||||||
git fetch origin ${{ github.ref }}:test-branch
|
git fetch origin "${{ github.ref }}:test-branch"
|
||||||
git checkout test-branch
|
git checkout test-branch
|
||||||
bin/spack unit-test -x -m "not maybeslow" -k "package_sanity"
|
bin/spack unit-test -x -m "not maybeslow" -k "package_sanity"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user