Skip to content

Commit 9ce9db4

Browse files
committed
build: add CI workflow
1 parent 3cef555 commit 9ce9db4

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
unit-tests:
7+
name: Unit Tests (${{ matrix.os }})
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest]
12+
13+
steps:
14+
- uses: actions/checkout@v1
15+
with:
16+
fetch-depth: 1
17+
18+
- name: Build project
19+
run: cargo build -v
20+
21+
- name: Run unit tests
22+
run: cargo test -v --lib

0 commit comments

Comments
 (0)