Skip to content

Commit 0d57d63

Browse files
committed
Fix workflow YAML: avoid heredoc, use python -c to prevent YAML parse error
1 parent 4854a3a commit 0d57d63

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

.github/workflows/sktime-detector.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,5 @@ jobs:
2828
env:
2929
PYTHONPATH: src
3030
run: |
31-
python - <<'PY'
32-
import importlib
33-
importlib.import_module('hyperactive.experiment.integrations.sktime_detector')
34-
importlib.import_module('hyperactive.integrations.sktime._detector')
35-
print('imports ok')
36-
PY
31+
python -c "import importlib; importlib.import_module('hyperactive.experiment.integrations.sktime_detector'); importlib.import_module('hyperactive.integrations.sktime._detector'); print('imports ok')"
3732
pytest -q src/hyperactive/integrations/sktime/tests/test_detector_integration.py -q || true

0 commit comments

Comments
 (0)