Skip to content

Commit 756a084

Browse files
committed
chore: update test workflow to include comprehensive testing steps
1 parent 6ecda21 commit 756a084

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,29 @@ name: Test
22

33
on:
44
workflow_call:
5+
push:
6+
branches: dev
7+
pull_request:
8+
branches: dev
59

610
jobs:
711
test:
812
name: Test
913
runs-on: ubuntu-latest
1014
steps:
11-
- run: echo "This workflow is dedicated to running tests"
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Install Rust toolchain
19+
uses: dtolnay/rust-toolchain@stable
20+
with:
21+
targets: x86_64-unknown-linux-gnu
22+
23+
- name: Run tests with all features
24+
run: cargo test --all-features
25+
26+
- name: Run library tests
27+
run: cargo test --lib
28+
29+
- name: Run integration tests
30+
run: cargo test --test '*'

0 commit comments

Comments
 (0)