Skip to content

Commit 3fcada3

Browse files
committed
ci: Split mock tests flow
- Split ina23x tests flow-> ina238 tests & ina239 tests
1 parent b35dcf2 commit 3fcada3

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,25 @@ jobs:
2828
components: clippy
2929
- run: cargo clippy -- -D warnings
3030

31-
test:
32-
name: Unit & Mock Tests
31+
test-ina238:
32+
name: INA238 Tests
3333
runs-on: ubuntu-latest
3434
steps:
3535
- uses: actions/checkout@v4
3636
- uses: dtolnay/rust-toolchain@stable
37-
- run: cargo test --verbose
37+
- run: cargo test --test tests_ina238 --verbose
38+
39+
# Optional Cleanup
40+
- name: Remove artifacts from target
41+
run: cargo clean --verbose
42+
43+
test-ina239:
44+
name: INA239 Tests
45+
runs-on: ubuntu-latest
46+
steps:
47+
- uses: actions/checkout@v4
48+
- uses: dtolnay/rust-toolchain@stable
49+
- run: cargo test --test tests_ina239 --verbose
3850

3951
# Optional Cleanup
4052
- name: Remove artifacts from target

0 commit comments

Comments
 (0)