From 298e13d53accce07bd877afabe8c4d4d62b6923c Mon Sep 17 00:00:00 2001 From: Slach Date: Sun, 10 Nov 2024 22:14:31 +0400 Subject: [PATCH] refactoring run_tests.yaml to allow parallel test executions --- .github/workflows/run_tests.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml index 0afb7a454..44f5de609 100644 --- a/.github/workflows/run_tests.yaml +++ b/.github/workflows/run_tests.yaml @@ -102,9 +102,9 @@ jobs: test_mode="--test-to-end" fi - for test_file in "./tests/e2e/test_*.py"; do + for test_file in ./tests/e2e/test_*.py; do name=$(basename "$test_file" .py | sed 's/^test_//') - run_cmd="~/venv/qa/bin/python3 ./tests/regression.py --only=/regression/e2e?test_${name}/\${ONLY} \$test_mode --trim-results on -o short --native --log ./tests/raw_${name}.log && " + run_cmd="~/venv/qa/bin/python3 ./tests/regression.py --only=/regression/e2e?test_${name}/${ONLY} $test_mode --trim-results on -o short --native --log ./tests/raw_${name}.log && " run_cmd+="~/venv/qa/bin/tfs --no-colors transform compact ./tests/raw_${name}.log ./tests/compact_${name}.log && " run_cmd+="~/venv/qa/bin/tfs --no-colors transform nice ./tests/raw_${name}.log ./tests/nice_${name}.log.txt && " run_cmd+="~/venv/qa/bin/tfs --no-colors transform short ./tests/raw_${name}.log ./tests/short_${name}.log.txt && " @@ -134,7 +134,7 @@ jobs: with: name: testflows-report path: | - tests/report.html + tests/*report.html if-no-files-found: error retention-days: 90