Skip to content

Commit 5f37732

Browse files
Merge pull request #5 from bencgreenberg/add-action
add workflow for testing in Actions
2 parents 9bba839 + 656df64 commit 5f37732

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/run_tests.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Run Test Suite
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repo
17+
uses: actions/checkout@v2
18+
19+
- name: Set up Rust
20+
uses: actions-rs/toolchain@v1
21+
with:
22+
toolchain: stable
23+
components: rustfmt, clippy
24+
25+
- name: Run tests
26+
run: cargo test

0 commit comments

Comments
 (0)