Skip to content

Commit 9210bee

Browse files
committed
add simple test
1 parent 730ff09 commit 9210bee

File tree

8 files changed

+798
-575
lines changed

8 files changed

+798
-575
lines changed

Diff for: .github/workflows/test.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: ["dev"]
6+
pull_request:
7+
8+
env:
9+
CARGO_TERM_COLOR: always
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Build
18+
run: cargo build --verbose
19+
- name: Run tests
20+
run: cargo test --verbose

Diff for: .pre-commit-config.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ repos:
22
- repo: https://github.com/jvllmr/pre-commit-cargo
33
rev: c8489dd
44
hooks:
5+
- id: cargo-fix
56
- id: cargo-fmt
6-
- id: cargo-fix
7+

0 commit comments

Comments
 (0)