Skip to content

Commit b8f8aac

Browse files
committed
automate rust tests using github actions
Signed-off-by: Gregory Hill <[email protected]>
1 parent e3b533d commit b8f8aac

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/test.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
on: [push, pull_request]
2+
3+
name: Nightly
4+
5+
jobs:
6+
test:
7+
name: Test
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout sources
11+
uses: actions/checkout@v2
12+
13+
- name: Install nightly toolchain
14+
uses: actions-rs/toolchain@v1
15+
with:
16+
profile: minimal
17+
toolchain: nightly
18+
override: true
19+
20+
- name: Run cargo test
21+
uses: actions-rs/cargo@v1
22+
with:
23+
command: test

0 commit comments

Comments
 (0)