Skip to content

Commit 28efa45

Browse files
Update e2e workflow for Poetry PyTest run
1 parent b252c19 commit 28efa45

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/e2e_tests.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,11 @@ jobs:
103103
echo "CODEFLARE_TEST_OUTPUT_DIR=${CODEFLARE_TEST_OUTPUT_DIR}" >> $GITHUB_ENV
104104
105105
set -euo pipefail
106-
go test -timeout 30m -v ./tests/e2e -json 2>&1 | tee ${CODEFLARE_TEST_OUTPUT_DIR}/gotest.log | gotestfmt
106+
pip install poetry
107+
poetry config virtualenvs.create false
108+
poetry lock --no-update
109+
poetry install --with test,docs
110+
poetry run pytest -v -s ./tests/e2e/mnist_raycluster_sdk_test.py --json-report --json-report-file=${CODEFLARE_TEST_OUTPUT_DIR}/pytest_report.json 2>&1 | tee ${CODEFLARE_TEST_OUTPUT_DIR}/pytest.log
107111
108112
- name: Print CodeFlare operator logs
109113
if: always() && steps.deploy.outcome == 'success'

0 commit comments

Comments
 (0)