From 7e8a0626035c9f6904a68ec73e8d987c80288b9f Mon Sep 17 00:00:00 2001 From: ajasnosz Date: Fri, 8 Dec 2023 10:30:28 +0100 Subject: [PATCH] test: test [run-int-tests] --- .github/workflows/ci-main.yaml | 2 +- integration_tests/automatic_setup.sh | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-main.yaml b/.github/workflows/ci-main.yaml index 1a4587b9b..51ed9f023 100644 --- a/.github/workflows/ci-main.yaml +++ b/.github/workflows/ci-main.yaml @@ -144,7 +144,7 @@ jobs: sudo apt-get install snmp -y sudo apt-get install python3-dev -y - name: run automatic_setup.sh - run: integration_tests/automatic_setup.sh + run: integration_tests/automatic_setup.sh integration - name: run tests working-directory: integration_tests run: | diff --git a/integration_tests/automatic_setup.sh b/integration_tests/automatic_setup.sh index a02a3cadd..8b3ca3adf 100755 --- a/integration_tests/automatic_setup.sh +++ b/integration_tests/automatic_setup.sh @@ -130,6 +130,7 @@ wait_for_pod_initialization wait_for_sc4snmp_pods_to_be_up check_metallb_status -#define_python - -#deploy_poetry +if [ $1 == 'integration' ]; then + define_python + deploy_poetry +fi