From ca00053ed053398bc31c4a848fb7f981ea435564 Mon Sep 17 00:00:00 2001 From: noopur Date: Thu, 14 Nov 2024 13:09:42 +0000 Subject: [PATCH] Single workflow for TLS and non TLS both Signed-off-by: noopur --- .github/workflows/task_runner_e2e.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/task_runner_e2e.yml b/.github/workflows/task_runner_e2e.yml index ec0310dce7..fdcacee360 100644 --- a/.github/workflows/task_runner_e2e.yml +++ b/.github/workflows/task_runner_e2e.yml @@ -68,16 +68,17 @@ jobs: python -m pip install --upgrade pip pip install . pip install -r test-requirements.txt + echo ${{ matrix.tls }} - name: Run Task Runner E2E tests - if: ${{ matrix.tls == 'true' }} + if: matrix.tls == 'true' id: run_task_runner_tests_tls run: | python -m pytest -s tests/end_to_end/test_suites/task_runner_tests.py -m ${{ env.MODEL_NAME }} --num_rounds $NUM_ROUNDS --num_collaborators $NUM_COLLABORATORS --model_name ${{ env.MODEL_NAME }} echo "Task runner end to end test run completed" - name: Run Task Runner E2E tests without TLS - if: ${{ matrix.tls == 'false' }} + if: matrix.tls == 'false' id: run_task_runner_tests_non_tls run: | python -m pytest -s tests/end_to_end/test_suites/task_runner_tests.py -m ${{ env.MODEL_NAME }} --num_rounds $NUM_ROUNDS --num_collaborators $NUM_COLLABORATORS --model_name ${{ env.MODEL_NAME }} --disable_tls