summaryrefslogtreecommitdiff
path: root/.github/workflows/macos_unit_tests.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/macos_unit_tests.yaml')
-rw-r--r--.github/workflows/macos_unit_tests.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/macos_unit_tests.yaml b/.github/workflows/macos_unit_tests.yaml
index 9a7c12ae5d..f4b55bab86 100644
--- a/.github/workflows/macos_unit_tests.yaml
+++ b/.github/workflows/macos_unit_tests.yaml
@@ -14,6 +14,8 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: 3.7
@@ -30,7 +32,7 @@ jobs:
- name: Run unit tests
run: |
git --version
- git fetch -u origin develop:develop
+ . .github/workflows/setup_git.sh
. share/spack/setup-env.sh
coverage run $(which spack) test
coverage combine