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 Rust
27        run: |
28          rustup set profile minimal
29          rustup update stable
30
31      - name: Install Node
32        uses: actions/setup-node@v3
33        with:
34          node-version: '18'
35
36      - name: Checkout repo
37        uses: actions/checkout@v3
38        with:
39          clean: false
40          submodules: 'recursive'
41
42      - name: Run randomized tests
43        run: script/randomized-test-ci