Skip to content

Commit c19123f

Browse files
committed
Remove all but one translator
Added debug info to see what's wrong on the GitHub Runner It has to do with cpu-benchmark (again!)
1 parent 67cc4a1 commit c19123f

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: [ "3.11", "3.12", "3.13", "3.14" ]
10+
python-version: [ "3.14" ]
1111
steps:
1212
- uses: actions/checkout@v4
1313

@@ -37,7 +37,7 @@ jobs:
3737
pip install .
3838
3939
- name: Run tests
40-
run: python3 -m pytest -s -v -m unit --cov=wfcommons tests/
40+
run: python3 -m pytest -s -v -m unit --cov=wfcommons tests/translators_loggers
4141

4242
- name: Upload coverage
4343
if: github.ref == 'refs/heads/main'

tests/translators_loggers/test_translators_loggers.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,15 +231,15 @@ class TestTranslators:
231231
@pytest.mark.parametrize(
232232
"backend",
233233
[
234-
"swiftt",
235-
"dask",
234+
# "swiftt",
235+
# "dask",
236236
# "parsl",
237237
# "nextflow",
238-
"airflow",
238+
# "airflow",
239239
"bash",
240240
# "taskvine",
241241
# "makeflow",
242-
"cwl",
242+
# "cwl",
243243
# "pegasus",
244244
])
245245
@pytest.mark.unit
@@ -257,6 +257,10 @@ def test_translator(self, backend) -> None:
257257
# Perform the translation
258258
sys.stderr.write(f"\n[{backend}] Translating workflow...\n")
259259
translator = translator_classes[backend](benchmark.workflow)
260+
sys.stderr.write("Checking that cpu-benchmark is in the path")
261+
sys.stderr.write(f"{shutil.which('cpu-benchmark')}")
262+
for path in os.environ["PATH"].split(os.pathsep):
263+
sys.stderr.write(f"In PATH: {path}...\n")
260264
translator.translate(output_folder=dirpath)
261265

262266
# Make the directory that holds the translation world-writable,

0 commit comments

Comments
 (0)