This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
63 lines (56 loc) · 1.84 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
test_stable:
runs-on: ubuntu-latest-16-core
strategy:
fail-fast: false
name: stable - Test
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-rust
with:
AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY}}
- run: cargo nextest run --workspace --exclude topos-sequencer-subnet-runtime && cargo test --doc --workspace
env:
RUST_LOG: warn,topos=info
test_nightly:
runs-on: ubuntu-latest-16-core
strategy:
fail-fast: false
name: nightly - Test
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-rust
with:
toolchain: nightly
AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY}}
- run: cargo nextest run --workspace --exclude topos-sequencer-subnet-runtime && cargo test --doc --workspace
env:
RUST_LOG: topos=warn
cert_delivery:
runs-on: ubuntu-latest-16-core
needs: [test_stable]
strategy:
fail-fast: true
matrix:
value: ["first", "second", "third"]
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-rust
with:
AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY}}
- run: cargo nextest run cert_delivery --locked --no-default-features -F tce
env:
RUST_LOG: topos=warn