7878 echo TURBO_TOKEN=${{ secrets.TURBO_TOKEN }} >> .env
7979 echo TURBO_REMOTE_CACHE_SIGNATURE_KEY=${{ secrets.TURBO_REMOTE_CACHE_SIGNATURE_KEY }} >> .env
8080
81- - name : Install workerd Dependencies
82- if : ${{ runner.os == 'Linux' }}
83- run : |
84- export DEBIAN_FRONTEND=noninteractive
85- sudo apt-get update
86- sudo apt-get install -y libc++1
87-
8881 - name : Install NPM Dependencies
8982 run : pnpm install --frozen-lockfile
9083
@@ -102,3 +95,46 @@ jobs:
10295
10396 - name : Report Code Coverage
10497 uses : codecov/codecov-action@v3
98+
99+ quarantine :
100+ name : " Quarantined Tests"
101+ strategy :
102+ matrix :
103+ os : [ubuntu-latest, windows-latest, macos-latest]
104+ runs-on : ${{ matrix.os }}
105+ steps :
106+ - name : Checkout Repo
107+ uses : actions/checkout@v3
108+ with :
109+ fetch-depth : 0
110+ - uses : pnpm/action-setup@v2
111+ with :
112+ version : 8
113+ - name : Use Node.js ${{ env.node-version }}
114+ uses : actions/setup-node@v3
115+ with :
116+ node-version : ${{ env.node-version }}
117+ cache : " pnpm"
118+
119+ - name : " Create .env file"
120+ run : |
121+ touch .env
122+ echo TURBO_API=${{ secrets.TURBO_API }} >> .env
123+ echo TURBO_TEAM=${{ secrets.TURBO_TEAM }} >> .env
124+ echo TURBO_TOKEN=${{ secrets.TURBO_TOKEN }} >> .env
125+ echo TURBO_REMOTE_CACHE_SIGNATURE_KEY=${{ secrets.TURBO_REMOTE_CACHE_SIGNATURE_KEY }} >> .env
126+
127+ - name : Install NPM Dependencies
128+ run : pnpm install --frozen-lockfile
129+
130+ - name : Run builds
131+ run : pnpm run build
132+ env :
133+ NODE_ENV : " production"
134+
135+ - name : Run tests
136+ run : pnpm run test:ci:quarantine
137+ env :
138+ TMP_CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
139+ TMP_CLOUDFLARE_ACCOUNT_ID : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
140+ NODE_OPTIONS : " --max_old_space_size=8192"
0 commit comments