-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (43 loc) · 1.03 KB
/
pr-test-cargo.yaml
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
name: Check testsuite
on:
pull_request:
paths:
- '.github/actions/cargo-command/**'
- '.github/workflows/pr-test-cargo.yaml'
- 'chronicle/**'
- 'config/subxt/**'
- 'docs/**'
- 'node/**'
- 'pallets/**'
- 'primitives/**'
- 'runtime/**'
- 'tc-subxt/**'
- 'tester/**'
- 'tss/**'
- 'utils/**'
- 'Cargo.toml'
- 'Cargo.lock'
- 'rust-toolchain.toml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-cargo:
runs-on: [self-hosted, general]
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build testsuite
uses: ./.github/actions/cargo-command
with:
command: test
args: --all-features --no-run
- name: Run testsuite
uses: ./.github/actions/cargo-command
with:
command: test
args: --all-features
cache: false
annotate: false