Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,14 @@ jobs:
- name: Tests (standard library only, no game data)
shell: bash
run: |
# Keep the pytest selection predicate, but run the selected files four at a time.
# Keep the pytest selection predicate, but run the selected files eight at a time (one short Python process each).
# The runner reports every failure instead of stopping at the first one.
while IFS= read -r t; do
if grep -Eq "$PYTEST_FILE_MARKERS" "$t" || ! grep -q '__main__' "$t"; then
continue
fi
printf '%s\n' "$t"
done < <(find tests -path 'tests/semantic' -prune -o -type f -name 'test_*.py' -print | LC_ALL=C sort) | python -I scripts/run_standalone_tests.py -j 4
done < <(find tests -path 'tests/semantic' -prune -o -type f -name 'test_*.py' -print | LC_ALL=C sort) | python -I scripts/run_standalone_tests.py -j 8
- name: Build rpf9dump
run: dotnet build tools/rpf9dump/rpf9dump.csproj -c Release
- name: Test TTPF export retry
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
continue
fi
printf '%s\n' "$t"
done < <(find tests -path 'tests/semantic' -prune -o -type f -name 'test_*.py' -print | LC_ALL=C sort) | python -I scripts/run_standalone_tests.py -j 4
done < <(find tests -path 'tests/semantic' -prune -o -type f -name 'test_*.py' -print | LC_ALL=C sort) | python -I scripts/run_standalone_tests.py -j 8
semantic-tests:
needs: change-scope
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ci_registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ def test_loop_runs_past_a_failure_and_names_every_failed_file(self):

def test_step_script_reads_the_check_loop(self):
script = step_script(ROOT, STDLIB_STEP)
self.assertIn('python -I scripts/run_standalone_tests.py -j 4', script)
self.assertIn('python -I scripts/run_standalone_tests.py -j 8', script)
self.assertIn("-name 'test_*.py'", script)


Expand Down