File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959
6060 steps :
6161 - uses : actions/checkout@v6
62+ with :
63+ fetch-depth : ${{ matrix.coverage && '0' || '1' }}
6264 - name : Set up miniforge ${{matrix.python-version}}
6365 uses : conda-incubator/setup-miniconda@v3
6466 with :
@@ -108,14 +110,6 @@ jobs:
108110 coverage xml -o coverage.xml
109111 coverage report --format=total | awk '{print "### Test coverage: " $1 "%"}' >> "$GITHUB_STEP_SUMMARY"
110112
111- - name : Fetch pull request base
112- if : matrix.coverage && github.event_name == 'pull_request'
113- env :
114- BASE_REF : ${{github.base_ref}}
115- run : |
116- git fetch --no-tags --depth=1 origin \
117- "+refs/heads/${BASE_REF}:refs/remotes/origin/${BASE_REF}"
118-
119113 - name : Create differential coverage report
120114 if : matrix.coverage && github.event_name == 'pull_request'
121115 env :
You can’t perform that action at this time.
0 commit comments