Skip to content

Commit

Permalink
Run with more verbosity and fail-fast
Browse files Browse the repository at this point in the history
  • Loading branch information
hmaarrfk committed Aug 31, 2022
1 parent 82b714b commit 9579068
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
CC: mpicc.mpich
#NO_NET: 1
strategy:
fail-fast: false
matrix:
python-version: ["3.9"]
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
CC: mpicc.mpich
#NO_NET: 1
strategy:
fail-fast: false
matrix:
python-version: ["3.9"]
steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/miniconda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
#env:
# NO_NET: 1
strategy:
fail-fast: false
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10" ]
os: [windows-latest, ubuntu-latest, macos-latest]
Expand Down Expand Up @@ -46,6 +47,7 @@ jobs:
run-mpi:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: [ "3.9" ]
os: [ubuntu-latest]
Expand Down
2 changes: 1 addition & 1 deletion test/run_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test(verbosity=1):
sys.stdout.write('netcdf lib version: %s\n' % __netcdf4libversion__)
sys.stdout.write('numpy version %s\n' % numpy.__version__)
sys.stdout.write('cython version %s\n' % cython.__version__)
runner = unittest.TextTestRunner(verbosity=1)
runner = unittest.TextTestRunner(verbosity=2, failfast=True)
result = runner.run(testsuite)
if not result.wasSuccessful():
sys.exit(1)

0 comments on commit 9579068

Please sign in to comment.