Skip to content
This repository was archived by the owner on Oct 13, 2022. It is now read-only.

Commit a41993c

Browse files
Fix run-test task (#39)
1 parent 38082a2 commit a41993c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

resource/airflow_dag_pipeline.yaml

+2-4
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,8 @@ jobs:
228228
source /docker-lib.sh
229229
start_docker
230230
docker load -i image/image.tar
231-
echo "Installing pytest"
232-
docker run --entrypoint "" dag/test:latest pip install pytest
233-
echo "Running tests in tests dir"
234-
docker run --entrypoint "" dag/test:latest pytest tests
231+
echo "Installing pytest and running tests in tests directory"
232+
docker run --entrypoint "" dag/test:latest pip install pytest && pytest tests
235233
else
236234
echo 'No tests to run'
237235
fi

0 commit comments

Comments
 (0)