Skip to content

Commit 3069683

Browse files
committed
Correct missing path info
1 parent b91bce4 commit 3069683

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/testing.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,46 +110,46 @@ jobs:
110110
echo "Using `$FC --version`"
111111
echo "FFLAGS: $FFLAGS"
112112
echo "CFLAGS: $CFLAGS"
113-
cd ${CLAW}
113+
cd ${{ env.CLAW }}
114114
pip install --no-build-isolation --editable .
115115
116116
- name: Lint with flake8
117117
if: ${{ matrix.build == 'debug' }}
118118
run: |
119-
cd ${CLAW}/pyclaw
119+
cd ${{ env.CLAW }}
120120
# stop the build if there are Python syntax errors or undefined names
121121
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude "development","src/pyclaw/fileio/netcdf.py"
122122
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
123123
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
124124
125125
- name: Test with pytest
126126
run: |
127-
cd ${CLAW}/pyclaw
127+
cd ${{ env.CLAW }}
128128
coverage run --source=src -m pytest -vv --showlocals --ignore=development -k "not test_shallow_sphere" --junitxml=test-results.xml
129129
130130
- name: Process test results
131131
uses: test-summary/[email protected]
132132
if: always()
133133
with:
134-
paths: test_report.xml
134+
paths: ${{ env.CLAW }}/pyclaw/test_report.xml
135135
output: test-summary.md
136136
show: all
137137

138138
- name: Upload to Coveralls
139139
if: ${{ matrix.os == 'ubuntu-latest' && matrix.toolchain.compiler == 'gcc' && matrix.build == 'opt' && matrix.python-version == '3.12' }}
140140
run: |
141-
cd ${CLAW}/pyclaw
141+
cd ${{ env.CLAW }}/pyclaw
142142
ls -l .coverage
143143
coveralls
144144
env:
145145
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
146146
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
147147

148148
- name: Upload test results
149-
if: failure()
149+
# if: failure()
150+
if: always()
150151
uses: actions/upload-artifact@v4
151152
with:
152153
name: test_results
153-
# Currently this does not save anything
154-
path: ${{ env.CLAW }}/pyclaw/*_output
154+
path: ${{ env.CLAW }}/pyclaw/test-summary.md
155155
if-no-files-found: ignore

0 commit comments

Comments
 (0)