Skip to content

Commit

Permalink
Add ubuntu deps for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mackenly committed May 5, 2024
1 parent 4758715 commit 1644636
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: install dependencies (ubuntu only)
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
# webkitgtk 4.0 is for Tauri v1 - webkitgtk 4.1 is for Tauri v2.
# You can remove the one that doesn't apply to your app to speed up the workflow a bit.
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
Expand All @@ -21,7 +28,7 @@ jobs:
- name: Install dependencies
run: cargo build --verbose
working-directory: ./src-tauri/

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

0 comments on commit 1644636

Please sign in to comment.