Skip to content

Commit c1bc798

Browse files
committed
[ci-cd] fix __version__ in test job for pydra
1 parent 783267a commit c1bc798

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci-cd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
run: |
6868
pip install ".[test]"
6969
python -c "import pydra.workers.oar as m; print(f'{m.__name__} {m.__version__} @ {m.__file__}')"
70-
python -c "import pydra as m; print(f'{m.__name__} {m.__version__} @ {m.__file__}')"
70+
python -c "import pydra as m; print(f\"{m.__name__} {getattr(m, '__version__', 'no version')} @ {m.__file__}\")"
7171
- name: Test with pytest
7272
run: |
7373
pytest -sv --doctest-modules pydra/workers/oar \

0 commit comments

Comments
 (0)