Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Nov 10, 2023
2 parents bcd2559 + fccaff8 commit 694c75f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/unittest-flux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,7 @@ jobs:
- name: Test
shell: bash -l {0}
timeout-minutes: 5
run: >
for f in $(ls tests/test_*.py); do
echo $f;
if [ $f != "tests/test_flux.py" ]; then
coverage run --omit pympipool/_version.py -m unittest $f;
fi
done
run: cd tests; coverage run --omit pympipool/_version.py -m unittest discover .
env:
OMPI_MCA_plm: 'isolated'
OMPI_MCA_rmaps_base_oversubscribe: 'yes'
Expand Down
3 changes: 2 additions & 1 deletion tests/test_flux.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from concurrent.futures import Future
import os
from queue import Queue

import numpy as np
Expand All @@ -15,7 +16,7 @@
FluxPythonInterface,
)

skip_flux_test = False
skip_flux_test = "FLUX_URI" not in os.environ
except ImportError:
skip_flux_test = True

Expand Down

0 comments on commit 694c75f

Please sign in to comment.