-
Notifications
You must be signed in to change notification settings - Fork 39
48 lines (44 loc) · 1.29 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Runs testing related jobs.
name: test
on:
push:
branches: [main, next]
pull_request:
types: [opened, reopened, synchronize]
jobs:
unit-and-integration:
name: unit and integration tests stable on ubuntu-latest
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
override: true
- name: Install cargo make
run: cargo install cargo-make
- name: cargo make - test
run: cargo make test
end-to-end:
name: end-to-end tests stable on ubuntu-latest
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
override: true
- name: Install cargo make
run: cargo install cargo-make
- name: cargo make - docker-build-node
run: cargo make docker-build-node
- name: cargo make - docker-run-node
run: cargo make docker-run-node
- name: cargo install - miden-client
run: cargo install miden-client --features concurrent,testing
- name: cargo make - test-end-to-end
run: cargo make test-end-to-end