Skip to content

Commit

Permalink
Add action to test rust
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-salomao committed Oct 29, 2024
1 parent a005525 commit 8a78391
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

env:
CARGO_TERM_COLOR: always

jobs:
test-rust:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Rust
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Install dependencies
working-directory: ./src-tauri
run: cargo build --verbose

- name: Run tests
working-directory: ./src-tauri
run: cargo test --verbose

0 comments on commit 8a78391

Please sign in to comment.