2023-04-14 21:41:52 +03:00
|
|
|
name: Randomized Tests
|
|
|
|
|
|
|
|
concurrency: randomized-tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- randomized-tests-runner
|
|
|
|
schedule:
|
2023-04-15 01:36:55 +03:00
|
|
|
- cron: '0 * * * *'
|
2023-04-14 21:41:52 +03:00
|
|
|
|
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
CARGO_INCREMENTAL: 0
|
|
|
|
RUST_BACKTRACE: 1
|
2023-04-15 01:36:55 +03:00
|
|
|
ZED_SERVER_URL: https://zed.dev
|
|
|
|
ZED_CLIENT_SECRET_TOKEN: ${{ secrets.ZED_CLIENT_SECRET_TOKEN }}
|
2023-04-14 21:41:52 +03: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
|
|
|
|
uses: actions/setup-node@v2
|
|
|
|
with:
|
2023-04-18 02:22:30 +03:00
|
|
|
node-version: '18'
|
2023-04-14 21:41:52 +03:00
|
|
|
|
|
|
|
- name: Checkout repo
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
clean: false
|
|
|
|
submodules: 'recursive'
|
|
|
|
|
2023-04-15 00:25:55 +03:00
|
|
|
- name: Run randomized tests
|
|
|
|
run: script/randomized-test-ci
|