Skip to content

Commit

Permalink
Revert time delay and multi-process testing
Browse files Browse the repository at this point in the history
  • Loading branch information
gb119 committed Dec 29, 2021
1 parent f93d9f7 commit 3da57d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests-action.yaml
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Run headless test
run: sudo apt-get install xvfb
- name: Test with xvfb
run: xvfb-run --auto-servernum $CONDA/bin/pytest -n 2 --cov-report=xml:cov.xml --cov=Stoner --junitxml pytest.xml
run: xvfb-run --auto-servernum $CONDA/bin/pytest --cov-report=xml:cov.xml --cov=Stoner --junitxml pytest.xml
env:
TZ: Europe/London
LC_CTYPE: en_GB.UTF-8
Expand Down
4 changes: 0 additions & 4 deletions Stoner/compat.py
Expand Up @@ -36,10 +36,6 @@
_lmfit = True

try:
if "GH_ACTION" in environ:
import time

time.sleep(np.random.rand() * 5)
import hyperspy as hs # Workaround an issue in hs 1.5.2 conda packages

try:
Expand Down

0 comments on commit 3da57d5

Please sign in to comment.