diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2020-07-28 18:04:52 +0200 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2020-08-13 00:33:31 -0700 |
commit | ecbfa5e44853fbd07028bd5f98e3b0f2d783f0ed (patch) | |
tree | c95e3b3581e124c1263229671d6ad82864b3d5a3 /.github/workflows/linux_unit_tests.yaml | |
parent | c00773521eb4c779185ba34019bd9239cc3fd73a (diff) | |
download | spack-ecbfa5e44853fbd07028bd5f98e3b0f2d783f0ed.tar.gz spack-ecbfa5e44853fbd07028bd5f98e3b0f2d783f0ed.tar.bz2 spack-ecbfa5e44853fbd07028bd5f98e3b0f2d783f0ed.tar.xz spack-ecbfa5e44853fbd07028bd5f98e3b0f2d783f0ed.zip |
Use "fetch-depth: 0" to retrieve all history from remote
Diffstat (limited to '.github/workflows/linux_unit_tests.yaml')
-rw-r--r-- | .github/workflows/linux_unit_tests.yaml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/linux_unit_tests.yaml b/.github/workflows/linux_unit_tests.yaml index 454b859151..f1def14b6f 100644 --- a/.github/workflows/linux_unit_tests.yaml +++ b/.github/workflows/linux_unit_tests.yaml @@ -19,6 +19,8 @@ jobs: steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} @@ -35,9 +37,7 @@ jobs: run: | # Need this for the git tests to succeed. git --version - git config --global user.email "spack@example.com" - git config --global user.name "Test User" - git fetch -u origin develop:develop + . .github/workflows/setup_git.sh - name: Install kcov for bash script coverage env: KCOV_VERSION: 34 @@ -62,6 +62,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - uses: actions/setup-python@v2 with: python-version: 3.8 @@ -78,9 +80,7 @@ jobs: run: | # Need this for the git tests to succeed. git --version - git config --global user.email "spack@example.com" - git config --global user.name "Test User" - git fetch -u origin develop:develop + . .github/workflows/setup_git.sh - name: Install kcov for bash script coverage env: KCOV_VERSION: 38 |