Skip to content

Commit

Permalink
clean up upstream-dev CI (#4599)
Browse files Browse the repository at this point in the history
* use tee to both print the output and log it to a file

* reduce the verbosity

* Update .github/workflows/upstream-dev-ci.yaml
  • Loading branch information
keewis authored Nov 23, 2020
1 parent 6daad06 commit 603c37d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/upstream-dev-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ jobs:
conda list
- name: Run Tests
run: |
python -m pytest --verbose -rf > output-${{ matrix.python-version }}-log
set -o pipefail
python -m pytest -rf | tee output-${{ matrix.python-version }}-log
- name: Upload artifacts
if: "failure()&&(github.event_name == 'schedule')&&(github.repository == 'pydata/xarray')" # Check the exit code of previous step
Expand Down

0 comments on commit 603c37d

Please sign in to comment.