Skip to content

Commit f0cbc26

Browse files
author
marwan37
committed
include project root in python path so pipelines can fidn the utils module
1 parent efd0d9a commit f0cbc26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ jobs:
6969
7070
- name: Run ${{ matrix.pipeline.name }} Pipeline
7171
id: run_pipeline
72-
working-directory: ${{ matrix.pipeline.path }}
7372
continue-on-error: true
7473
run: |
7574
echo "Running ${{ matrix.pipeline.name }} pipeline..."
76-
python ${{ matrix.pipeline.file }}
75+
cd ${{ matrix.pipeline.path }}
76+
PYTHONPATH=$GITHUB_WORKSPACE:$PYTHONPATH python ${{ matrix.pipeline.file }}
7777
7878
- name: Check pipeline result
7979
if: steps.run_pipeline.outcome == 'failure'

0 commit comments

Comments
 (0)