Skip to content

Commit 8847178

Browse files
committed
CI: VRF unit tests run as part of unit-tests
1 parent 2f50a24 commit 8847178

File tree

2 files changed

+1
-44
lines changed

2 files changed

+1
-44
lines changed

.github/workflows/tests.yaml

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -150,36 +150,6 @@ jobs:
150150
# - name: Run ledger tests
151151
# run: make test-ledger
152152

153-
vrf-tests:
154-
timeout-minutes: 20
155-
runs-on: ubuntu-24.04
156-
steps:
157-
- name: Git checkout
158-
uses: actions/checkout@v6
159-
160-
- name: Load versions
161-
uses: ./.github/actions/load-versions
162-
163-
- name: Setup build dependencies
164-
uses: ./.github/actions/setup-build-deps
165-
166-
- name: Use shared OCaml setting up steps
167-
uses: ./.github/actions/setup-ocaml
168-
with:
169-
ocaml_version: ${{ env.OCAML_VERSION }}
170-
171-
- name: Setup Rust
172-
uses: ./.github/actions/setup-rust
173-
with:
174-
toolchain: ${{ env.RUST_NIGHTLY_VERSION }}
175-
cache-prefix: vrf-${{ env.CACHE_VERSION }}
176-
177-
- name: Build vrf tests
178-
run: make build-vrf
179-
180-
- name: Run vrf tests
181-
run: make test-vrf
182-
183153
p2p-tests:
184154
timeout-minutes: 15
185155
runs-on: ubuntu-24.04
@@ -302,7 +272,6 @@ jobs:
302272
--exclude libp2p-rpc-behaviour \
303273
--exclude node \
304274
--exclude mina-node-account \
305-
--exclude vrf \
306275
--exclude mina-node-common \
307276
--exclude mina-node-native \
308277
--exclude mina-node-web \
@@ -319,6 +288,7 @@ jobs:
319288
--exclude mina-archive-breadcrumb-compare \
320289
--exclude webrtc-sniffer
321290
# --exclude mina-tree
291+
# --exclude vrf
322292
323293
account-tests:
324294
timeout-minutes: 20

Makefile

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,6 @@ build-tests-webrtc: ## Build tests for WebRTC
117117
cp -a $$FILE target/release/tests/webrtc_$$NAME; \
118118
done < tests.tsv
119119

120-
.PHONY: build-vrf
121-
build-vrf: ## Build the VRF package
122-
@cd vrf && cargo +$(NIGHTLY_RUST_VERSION) build --release --tests
123-
124120
.PHONY: build-wasm
125121
build-wasm: ## Build WebAssembly node
126122
@cd node/web && cargo +${NIGHTLY_RUST_VERSION} build \
@@ -318,11 +314,6 @@ test-p2p: ## Run P2P tests
318314
test-release: ## Run tests in release mode
319315
cargo test --release
320316

321-
.PHONY: test-vrf
322-
test-vrf: ## Run VRF tests, requires nightly Rust
323-
@cd vrf && cargo +$(NIGHTLY_RUST_VERSION) test --release -- \
324-
-Z unstable-options --report-time
325-
326317
.PHONY: test-account
327318
test-account: ## Run account tests
328319
@cargo test -p mina-node-account
@@ -360,10 +351,6 @@ nextest-p2p: ## Run P2P tests with cargo-nextest
360351
nextest-ledger: build-ledger ## Run ledger tests with cargo-nextest, requires nightly Rust
361352
@cd ledger && cargo +$(NIGHTLY_RUST_VERSION) nextest run --release
362353

363-
.PHONY: nextest-vrf
364-
nextest-vrf: ## Run VRF tests with cargo-nextest, requires nightly Rust
365-
@cd vrf && cargo +$(NIGHTLY_RUST_VERSION) nextest run --release
366-
367354
# Docker build targets
368355

369356
.PHONY: docker-build-all

0 commit comments

Comments
 (0)