diff --git a/.woodpecker/main.yaml b/.woodpecker/main.yaml index f66bab3..3878936 100644 --- a/.woodpecker/main.yaml +++ b/.woodpecker/main.yaml @@ -107,10 +107,11 @@ steps: commands: - pip install -r requirements.dev.txt - cd ./src - # Every FT file EXCEPT test_game_room_* — that cluster runs in - # test-FTs-room. Channels + two-browser tags already covered upstream. - # `ls | grep -v | sed` enumerates module dotted-paths from filenames. - - python manage.py test --exclude-tag=channels --exclude-tag=two-browser $(ls functional_tests/test_*.py | grep -v 'test_game_room_' | sed 's|/|.|g;s|\.py||') + # Every FT file EXCEPT test_game_room_* and test_trinket_* — both + # clusters run in test-FTs-room. Channels + two-browser tags already + # covered upstream. `ls | grep -v | sed` enumerates module dotted-paths + # from filenames. + - python manage.py test --exclude-tag=channels --exclude-tag=two-browser $(ls functional_tests/test_*.py | grep -vE 'test_(game_room|trinket)_' | sed 's|/|.|g;s|\.py||') when: - event: push path: @@ -137,11 +138,14 @@ steps: commands: - pip install -r requirements.dev.txt - cd ./src - # Heavy Selenium room flows — 9 files (deck_contrib, gatekeeper, - # invite, select_role/sea/sig/sky, tray, tray_tooltip) isolated - # into their own sub-step. Runs in parallel w. test-FTs-non-room + # Heavy Selenium room flows — test_game_room_* (deck_contrib, + # gatekeeper, invite, select_role/sea/sig/sky, tray, tray_tooltip) + # AND test_trinket_* (carte_blanche, coin_on_a_string, backstage_pass) + # since trinket FTs create rooms + load the room template (where the + # table hex SCSS + chair geometry live), so they exercise the same + # surface as test_game_room_*. Runs in parallel w. test-FTs-non-room # (distinct DATABASE_URL paths under /tmp; see split-rationale). - - python manage.py test --exclude-tag=channels --exclude-tag=two-browser $(ls functional_tests/test_game_room_*.py | sed 's|/|.|g;s|\.py||') + - python manage.py test --exclude-tag=channels --exclude-tag=two-browser $(ls functional_tests/test_game_room_*.py functional_tests/test_trinket_*.py | sed 's|/|.|g;s|\.py||') when: - event: push path: