Skip to content

Commit

Permalink
refactoring run_tests.yaml to allow parallel test executions
Browse files Browse the repository at this point in the history
  • Loading branch information
Slach committed Nov 10, 2024
1 parent 2d85948 commit 298e13d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/run_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 && "
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
with:
name: testflows-report
path: |
tests/report.html
tests/*report.html
if-no-files-found: error
retention-days: 90

Expand Down

0 comments on commit 298e13d

Please sign in to comment.