Skip to content

Commit

Permalink
run tests on push
Browse files Browse the repository at this point in the history
  • Loading branch information
gulbanana committed Mar 16, 2024
1 parent fe4ff74 commit c975fef
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: 'ci'

on:
push:
branches:
- master

jobs:
svelte-check:
runs-on: "ubuntu-22.04"
steps:
- uses: actions/checkout@v4

- name: install packages
run: npm install --package-lock=false

- name: run check
run: npm run check

cargo-test:
runs-on: "ubuntu-22.04"
steps:
- uses: actions/checkout@v4

- name: install rust
uses: dtolnay/rust-toolchain@stable

- uses: Swatinem/rust-cache@v2

- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: run tests
run: cd src-tauri && cargo test

0 comments on commit c975fef

Please sign in to comment.