Skip to content

Commit

Permalink
Single workflow for TLS and non TLS both
Browse files Browse the repository at this point in the history
Signed-off-by: noopur <[email protected]>
  • Loading branch information
noopurintel committed Nov 14, 2024
1 parent 6cb5d05 commit ca00053
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/task_runner_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca00053

Please sign in to comment.