-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6142472
commit 4045de3
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Run Cargo Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'feature-*' | ||
pull_request: | ||
branches: | ||
- 'feature-*' | ||
|
||
jobs: | ||
default-unit-tests: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
# sudo apt-get install -y libsqlite3-dev # Add any necessary system dependencies here | ||
- name: Run Cargo Test | ||
run: cargo test | ||
|