Skip to content

Commit d461bb1

Browse files
committed
Add tests to GitHub CI
1 parent af72272 commit d461bb1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,14 @@ jobs:
4242
with:
4343
components: clippy
4444
- run: cargo clippy
45+
tests:
46+
name: cargo test
47+
runs-on: ubuntu-latest
48+
steps:
49+
- name: Install system dependencies
50+
run: |
51+
sudo apt-get update
52+
sudo apt-get -y install libudev-dev
53+
- uses: actions/checkout@v4
54+
- uses: actions-rust-lang/setup-rust-toolchain@v1
55+
- run: cargo test

0 commit comments

Comments
 (0)