Skip to content

Commit 817978e

Browse files
committed
Test vrf crate in CI
1 parent da634e6 commit 817978e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,29 @@ jobs:
7777
cd ledger
7878
cargo test --release -- -Z unstable-options --report-time
7979
80+
vrf-tests:
81+
runs-on: ubuntu-20.04
82+
steps:
83+
- name: Git checkout
84+
uses: actions/checkout@v4
85+
- name: Setup build dependencies
86+
run: |
87+
sudo apt update
88+
sudo apt install -y protobuf-compiler
89+
- name: Setup Rust
90+
run: |
91+
# Nightly to be able to use `--report-time` below
92+
rustup install nightly
93+
rustup override set nightly
94+
- name: Build vrf tests
95+
run: |
96+
cd vrf
97+
cargo build --release --tests
98+
- name: Run vrf tests
99+
run: |
100+
cd vrf
101+
cargo test --release -- -Z unstable-options --report-time
102+
80103
tx-fuzzer-check:
81104
runs-on: ubuntu-20.04
82105
steps:

0 commit comments

Comments
 (0)