Skip to content

Commit 4eae314

Browse files
committed
test
1 parent 1a44eff commit 4eae314

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

.github/workflows/build.yml

-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,3 @@ jobs:
2323

2424
- name: Build in docker
2525
run: ./build-in-docker.sh
26-
27-
- uses: stefanzweifel/git-auto-commit-action@v4
28-
with:
29-
commit_message: Update binary

.github/workflows/test.yml

+15-9
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,28 @@ env:
1212

1313
jobs:
1414

15-
test:
16-
strategy:
17-
fail-fast: true
18-
matrix:
19-
target: [
20-
{ runner: ubuntu-latest, os: linux },
21-
]
22-
runs-on: ${{ matrix.target.runner }}
15+
build:
16+
runs-on: ubuntu-latest
2317
steps:
2418
- uses: actions/checkout@v3
2519

2620
- name: Build
2721
run: cargo build --all
2822

23+
unit-tests:
24+
needs: [ build ]
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v3
28+
2929
- name: Unit tests
3030
run: cargo test --all
3131

32+
integration-tests:
33+
needs: [ build ]
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: actions/checkout@v3
37+
3238
- name: Integration tests
33-
run: cargo run -p integration-tests
39+
run: cargo run -p integration-tests

0 commit comments

Comments
 (0)