From 30ea0a4bac4bc43bba947464e3fe0ac6a6ebccd8 Mon Sep 17 00:00:00 2001 From: Dan Halperin Date: Sat, 15 Jul 2023 07:24:00 -0700 Subject: [PATCH] testing: attempt to fix break times with pytest 7.4.0 (#120) commit-id:40423fb9 --- .github/workflows/reusable-integration-tests.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/reusable-integration-tests.yml b/.github/workflows/reusable-integration-tests.yml index 404f52a..2e714c8 100644 --- a/.github/workflows/reusable-integration-tests.yml +++ b/.github/workflows/reusable-integration-tests.yml @@ -104,7 +104,9 @@ jobs: TEMP_DIR=$(mktemp -d) tar xzf pybatfish-tests.tgz -C ${TEMP_DIR} tar xzf pybatfish-notebooks.tgz -C ${TEMP_DIR} + pushd ${TEMP_DIR} pytest -k "not test_notebook_output" "${TEMP_DIR}/tests/integration" + popd pybf_cross_version_tests: runs-on: ubuntu-latest if: inputs.run_cross_version_tests @@ -147,7 +149,9 @@ jobs: TEMP_DIR=$(mktemp -d) tar xzf pybatfish-tests.tgz -C ${TEMP_DIR} tar xzf pybatfish-notebooks.tgz -C ${TEMP_DIR} + pushd ${TEMP_DIR} pytest -k "not test_notebook_output" "${TEMP_DIR}/tests/integration" + popd - name: Stop bf run: docker stop $(docker ps -q) bf_image_test: @@ -190,7 +194,9 @@ jobs: TEMP_DIR=$(mktemp -d) tar xzf pybatfish-tests.tgz -C ${TEMP_DIR} tar xzf pybatfish-notebooks.tgz -C ${TEMP_DIR} + pushd ${TEMP_DIR} pytest "${TEMP_DIR}/tests/integration" + popd - name: Stop bf run: docker stop $(docker ps -q) allinone_image_test: