Skip to content

Commit

Permalink
Merge branch 'master' into feat/extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
kimlimjustin committed Dec 2, 2021
1 parent c1f3877 commit 936492b
Show file tree
Hide file tree
Showing 18 changed files with 686 additions and 225 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Test Rust Functions
on:
push:
branches: [master]

jobs:
tests:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-latest, windows-latest]

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- name: setup node
uses: actions/setup-node@v1
with:
node-version: 12
- name: install Rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: install webkit2gtk (ubuntu only)
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y webkit2gtk-4.0
- name: Run tests
run: yarn && yarn compile && cd src-tauri && cargo test
3 changes: 2 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn test
yarn test
cd src-tauri && cargo test
Loading

0 comments on commit 936492b

Please sign in to comment.