randomized_tests.yml

 1name: Randomized Tests
 2
 3concurrency: randomized-tests
 4
 5on:
 6    push:
 7        branches:
 8            - randomized-tests-runner
 9    # schedule:
10    #    - cron: '0 * * * *'
11
12env:
13    CARGO_TERM_COLOR: always
14    CARGO_INCREMENTAL: 0
15    RUST_BACKTRACE: 1
16    ZED_SERVER_URL: https://zed.dev
17    ZED_CLIENT_SECRET_TOKEN: ${{ secrets.ZED_CLIENT_SECRET_TOKEN }}
18
19jobs:
20    tests:
21        name: Run randomized tests
22        runs-on:
23            - self-hosted
24            - randomized-tests
25        steps:
26            - name: Install Node
27              uses: actions/setup-node@v3
28              with:
29                  node-version: "18"
30
31            - name: Checkout repo
32              uses: actions/checkout@v3
33              with:
34                  clean: false
35                  submodules: "recursive"
36
37            - name: Run randomized tests
38              run: script/randomized-test-ci