Skip to content

Commit 603c37d

Browse files
authored
clean up upstream-dev CI (#4599)
* use tee to both print the output and log it to a file * reduce the verbosity * Update .github/workflows/upstream-dev-ci.yaml
1 parent 6daad06 commit 603c37d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/upstream-dev-ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ jobs:
4141
conda list
4242
- name: Run Tests
4343
run: |
44-
python -m pytest --verbose -rf > output-${{ matrix.python-version }}-log
44+
set -o pipefail
45+
python -m pytest -rf | tee output-${{ matrix.python-version }}-log
4546
4647
- name: Upload artifacts
4748
if: "failure()&&(github.event_name == 'schedule')&&(github.repository == 'pydata/xarray')" # Check the exit code of previous step

0 commit comments

Comments
 (0)