@@ -317,16 +317,21 @@ jobs:
317317 fi
318318
319319 update :
320- name : Test spacetimedb-update flow
320+ name : Test spacetimedb-update flow (${{ matrix.target }})
321321 permissions : read-all
322322 strategy :
323323 matrix :
324324 include :
325- - { target: x86_64-unknown-linux-gnu, runner: spacetimedb-runner }
325+ - runner : spacetimedb-new-runner
326+ target : x86_64-unknown-linux-gnu
327+ container :
328+ image : localhost:5000/spacetimedb-ci:latest
329+ options : --privileged
326330 - { target: aarch64-unknown-linux-gnu, runner: arm-runner }
327331 - { target: aarch64-apple-darwin, runner: macos-latest }
328332 - { target: x86_64-pc-windows-msvc, runner: windows-latest }
329333 runs-on : ${{ matrix.runner }}
334+ container : ${{ matrix.container }}
330335 steps :
331336 - name : Checkout
332337 uses : actions/checkout@v3
@@ -362,8 +367,11 @@ jobs:
362367 # This can't go on e.g. ubuntu-latest because that runner runs out of disk space. ChatGPT suggested that the general solution tends to be to use
363368 # a custom runner.
364369 runs-on : spacetimedb-new-runner
370+ # Disable the tests because they are very flaky at the moment.
371+ # TODO: Remove this line and re-enable the `if` line just below here.
372+ if : false
365373 # Skip if this is an external contribution. GitHub secrets will be empty, so the step would fail anyway.
366- if : ${{ github.event_name != 'pull_request' || !github.event.pull_request.head.repo.fork }}
374+ # if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.head.repo.fork }}
367375 container :
368376 image : ghcr.io/epicgames/unreal-engine:dev-5.6
369377 credentials :
@@ -509,7 +517,7 @@ jobs:
509517 cargo run --features markdown-docs -p spacetimedb-cli > docs/docs/cli-reference.md
510518 pnpm format
511519 git status
512- if git diff --exit-code HEAD; then
520+ if git diff --exit-code HEAD -- docs/docs/cli-reference.md ; then
513521 echo "No docs changes detected"
514522 else
515523 echo "It looks like the CLI docs have changed:"
0 commit comments