2023-04-14 18:41:52 +00:00
|
|
|
name: Randomized Tests
|
|
|
|
|
|
|
|
concurrency: randomized-tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- randomized-tests-runner
|
2023-06-07 16:20:25 +00:00
|
|
|
# schedule:
|
|
|
|
# - cron: '0 * * * *'
|
2023-04-14 18:41:52 +00:00
|
|
|
|
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
CARGO_INCREMENTAL: 0
|
|
|
|
RUST_BACKTRACE: 1
|
2023-04-14 22:36:55 +00:00
|
|
|
ZED_SERVER_URL: https://zed.dev
|
|
|
|
ZED_CLIENT_SECRET_TOKEN: ${{ secrets.ZED_CLIENT_SECRET_TOKEN }}
|
2023-04-14 18:41:52 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
tests:
|
|
|
|
name: Run randomized tests
|
|
|
|
runs-on:
|
|
|
|
- self-hosted
|
|
|
|
- randomized-tests
|
|
|
|
steps:
|
|
|
|
- name: Install Rust
|
|
|
|
run: |
|
|
|
|
rustup set profile minimal
|
|
|
|
rustup update stable
|
|
|
|
|
|
|
|
- name: Install Node
|
2023-07-12 19:17:13 +00:00
|
|
|
uses: actions/setup-node@v3
|
2023-04-14 18:41:52 +00:00
|
|
|
with:
|
2023-04-17 23:22:30 +00:00
|
|
|
node-version: '18'
|
2023-04-14 18:41:52 +00:00
|
|
|
|
|
|
|
- name: Checkout repo
|
2023-07-12 19:17:13 +00:00
|
|
|
uses: actions/checkout@v3
|
2023-04-14 18:41:52 +00:00
|
|
|
with:
|
|
|
|
clean: false
|
|
|
|
submodules: 'recursive'
|
|
|
|
|
2023-04-14 21:25:55 +00:00
|
|
|
- name: Run randomized tests
|
|
|
|
run: script/randomized-test-ci
|