Skip to content

Commit

Permalink
fix ping test
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfleischer committed Nov 26, 2023
1 parent f149d25 commit 01c448b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Test with pytest
run: |
conda install pytest
source activate base & pytest tests
source activate base & pytest -s tests
build-windows:
Expand Down Expand Up @@ -85,4 +85,4 @@ jobs:
- name: Test with pytest
run: |
conda install pytest
source activate base & pytest -s tests
source activate base & pytest -s tests
3 changes: 2 additions & 1 deletion tests/test_ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@
from cloudmesh.common.Printer import Printer
from cloudmesh.common.StopWatch import StopWatch
from cloudmesh.common.util import HEADING
from distutils.util import strtobool

Benchmark.debug()

cloud = "local"

# https://github.com/actions/runner-images/issues/1519 ping does not work in github runner so we skip it.
import os
github_action = os.getenv('GITHUB_ACTIONS')
github_action = strtobool(os.getenv('GITHUB_ACTIONS', 'false'))

# multiping only works if you have root, so we can not use it
# from multiping import MultiPing
Expand Down

0 comments on commit 01c448b

Please sign in to comment.