File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030
3131 - name : Cargo fmt check
3232 run : cargo fmt --check --all
33-
34- - name : Run tests
35- run : ./run-tests.sh
Original file line number Diff line number Diff line change 1+ # SPDX-FileCopyrightText: © 2025 Phala Network <dstack@phala.network>
2+ #
3+ # SPDX-License-Identifier: Apache-2.0
4+
5+ name : Tests
6+
7+ on :
8+ push :
9+ branches : [ master, next, dev-* ]
10+ pull_request :
11+ branches : [ master, next, dev-* ]
12+
13+ env :
14+ CARGO_TERM_COLOR : always
15+
16+ jobs :
17+ rust-tests :
18+ name : Rust tests
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : actions/checkout@v4
22+
23+ - name : Install Rust
24+ uses : dtolnay/rust-toolchain@master
25+ with :
26+ toolchain : 1.92.0
27+
28+ - name : Run tests
29+ run : ./run-tests.sh
30+
31+ auth-eth-tests :
32+ name : auth-eth tests
33+ runs-on : ubuntu-latest
34+ steps :
35+ - uses : actions/checkout@v4
36+
37+ - name : Setup Node.js
38+ uses : actions/setup-node@v4
39+ with :
40+ node-version : ' 18'
41+ cache : ' npm'
42+ cache-dependency-path : kms/auth-eth/package-lock.json
43+
44+ - name : Install dependencies
45+ run : |
46+ cd kms/auth-eth
47+ npm ci
48+
49+ - name : Run tests
50+ run : |
51+ cd kms/auth-eth
52+ npm test
You can’t perform that action at this time.
0 commit comments