Skip to content

Commit 99a23d7

Browse files
committed
workflow
1 parent ced412a commit 99a23d7

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/test-only.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Test Only
2+
3+
on:
4+
push:
5+
branches: [ "*" ]
6+
pull_request:
7+
branches: [ "*" ]
8+
workflow_dispatch:
9+
10+
env:
11+
CARGO_TERM_COLOR: always
12+
13+
jobs:
14+
test:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v4
20+
21+
- name: Setup Rust
22+
uses: actions-rs/toolchain@v1
23+
with:
24+
toolchain: stable
25+
profile: minimal
26+
override: true
27+
28+
- name: Generate test data
29+
run: cargo test create_test_data --features "generate-test-data" -- --nocapture
30+
working-directory: ./src-tauri
31+
32+
- name: Run tests
33+
run: cargo test
34+
working-directory: ./src-tauri

0 commit comments

Comments
 (0)