Use "fetch-depth: 0" to retrieve all history from remote

This commit is contained in:
Massimiliano Culpo
2020-07-28 18:04:52 +02:00
committed by Peter Scheibel
parent c4f29c6384
commit 3e1661a183
4 changed files with 19 additions and 10 deletions

View File

@@ -41,9 +41,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: Run flake8 tests
run: |
share/spack/qa/run-flake8-tests