fix: use serial single-thread testing for game integration tests

This commit is contained in:
Ryan Walters
2025-09-06 14:54:03 -05:00
parent ca17984d98
commit fff44faa05
4 changed files with 13 additions and 2 deletions

View File

@@ -3,3 +3,10 @@ fail-fast = false
[profile.coverage] [profile.coverage]
status-level = "none" status-level = "none"
[[profile.default.overrides]]
filter = 'test(pacman::game::)'
test-group = 'serial'
[test-groups]
serial = { max-threads = 1 }

4
.gitignore vendored
View File

@@ -20,3 +20,7 @@ coverage.html
# Profiling output # Profiling output
flamegraph.svg flamegraph.svg
/profile.* /profile.*
# temporary
assets/game/sound/*.wav
/*.py

2
Cargo.lock generated
View File

@@ -663,7 +663,7 @@ checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
[[package]] [[package]]
name = "pacman" name = "pacman"
version = "0.2.0" version = "0.76.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bevy_ecs", "bevy_ecs",

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "pacman" name = "pacman"
version = "0.2.0" version = "0.76.1"
authors = ["Xevion"] authors = ["Xevion"]
edition = "2021" edition = "2021"
rust-version = "1.86.0" rust-version = "1.86.0"