Skip to content
Source
Sign inSign up
pingdotgg/t3code

ci(release): release tests stop timing out and finish in about 5 minutes #22524

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/22524/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 2 changed files with 53 additions and 7 deletions.

x
0 of 2 viewed, 2 left
1 addition and 0 deletions.github/workflows/ci.ymlModified
View file
@@ -252,6 +252,7 @@
​
# The web suite is the largest outside the server. In the shared Test job it
# started last and ran alone for about 40s after everything else finished.
+ # release.yml mirrors this test, test_web, and test_server split.
test_web:
name: Test Web
needs: changes
52 additions and 7 deletions.github/workflows/release.ymlModified
View file
@@ -256,7 +256,7 @@
run: vp run typecheck
​
# Keep tests on their own runners, using the same package split and server
- # shards as CI, so the release check job does not spend its budget on tests.
+ # shards as CI (test, test_web, test_server in ci.yml). Keep the two in sync.
test:
name: Release tests
needs: [preflight]
@@ -286,23 +286,67 @@
sudo sed -i 's|http://|https://|g' /etc/apt/blacksmith-ubuntu-mirrors.txt /etc/apt/sources.list.d/ubuntu.sources
sudo apt-get update && sudo apt-get install -y libsecret-1-dev pkg-config build-essential
​
- # The web package's browser project runs React tests in headless Chromium.
+ - name: Test
+ run: vp run --parallel --concurrency-limit 4 --filter '!t3' --filter '!@t3tools/monorepo' --filter '!@t3tools/web' test
+​