Extract randomized test CI process into a script
This commit is contained in:
@@ -14,8 +14,6 @@ env:
|
||||
CARGO_TERM_COLOR: always
|
||||
CARGO_INCREMENTAL: 0
|
||||
RUST_BACKTRACE: 1
|
||||
OPERATIONS: 200
|
||||
ITERATIONS: 10000
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
@@ -40,12 +38,5 @@ jobs:
|
||||
clean: false
|
||||
submodules: 'recursive'
|
||||
|
||||
- name: Select seed
|
||||
run: |
|
||||
set -eu
|
||||
seed=$(od -A n -N 8 -t u8 /dev/urandom | xargs)
|
||||
echo "seed: ${seed}"
|
||||
echo "SEED=${seed}" >> $GITHUB_ENV
|
||||
|
||||
- name: Run tests
|
||||
run: cargo test --release --package collab random
|
||||
- name: Run randomized tests
|
||||
run: script/randomized-test-ci
|
||||
|
||||
Reference in New Issue
Block a user