File tree Expand file tree Collapse file tree 4 files changed +12
-3
lines changed
src/workerd/server/tests/container-client Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 8686 # resulting in a snowballing cache size and cache download/upload times.
8787 - name : Setup Runner
8888 uses : ./.github/actions/setup-runner
89+ - name : Setup Docker on Linux
90+ if : runner.os == 'Linux'
91+ uses : docker/setup-docker-action@v4
8992 - name : Setup lld on macOS
9093 if : runner.os == 'macOS' && inputs.macos_use_lld
9194 run : |
Original file line number Diff line number Diff line change @@ -89,6 +89,9 @@ test:ci-linux --test_size_filters=
8989test:ci-macOS --test_size_filters=
9090test:ci-windows --test_size_filters=
9191
92+ # This ensures tests tagged with "requires-container-engine" run only in CI, not locally
93+ test:ci-linux --test_tag_filters=+requires-container-engine
94+
9295# Enable reporting whenever WPT tests are run
9396test:ci-test --config=wpt-test
9497common:wpt-test --test_env=GEN_TEST_REPORT=1
Original file line number Diff line number Diff line change 55 src = "test.wd-test" ,
66 args = ["--experimental" ],
77 data = ["test.js" ],
8- tags = ["off-by-default" ],
8+ tags = [
9+ "off-by-default" ,
10+ "requires-container-engine" ,
11+ ],
912)
Original file line number Diff line number Diff line change @@ -223,8 +223,8 @@ export const testBasics = {
223223// Test exit code monitor functionality
224224export const testExitCode = {
225225 async test ( _ctrl , env ) {
226- const id = env . CONTAINER . idFromName ( 'testExitCode' ) ;
227- const stub = env . CONTAINER . get ( id ) ;
226+ const id = env . MY_CONTAINER . idFromName ( 'testExitCode' ) ;
227+ const stub = env . MY_CONTAINER . get ( id ) ;
228228 await stub . testExitCode ( ) ;
229229 } ,
230230} ;
You can’t perform that action at this time.
0 commit comments