Skip to content

Commit 9d29053

Browse files
ci: split unit tests and integration tests
Signed-off-by: Fabrizio Sestito <fabrizio.sestito@suse.com>
1 parent 36866be commit 9d29053

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.github/workflows/tests.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
command: check
2525

2626
test:
27-
name: Test Suite
27+
name: Unit tests
2828
runs-on: ubuntu-latest
2929
steps:
3030
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4.0.0
@@ -36,7 +36,22 @@ jobs:
3636
- uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
3737
with:
3838
command: test
39-
args: --workspace
39+
args: --workspace --lib
40+
41+
integration-test:
42+
name: Integration tests
43+
runs-on: ubuntu-latest
44+
steps:
45+
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4.0.0
46+
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
47+
with:
48+
profile: minimal
49+
toolchain: stable
50+
override: true
51+
- uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
52+
with:
53+
command: test
54+
args: --test '*'
4055

4156
fmt:
4257
name: Rustfmt

0 commit comments

Comments
 (0)