Skip to content

Merge pull request #1677 from h3poteto/renovate/tauri-plugin-window-s… #3932

Merge pull request #1677 from h3poteto/renovate/tauri-plugin-window-s…

Merge pull request #1677 from h3poteto/renovate/tauri-plugin-window-s… #3932

Workflow file for this run

name: Test
on:
push:
branches: [ "master" ]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
frontend:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@v4
with:
node-version: 22
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Install dependencies
run: |
pnpm install --frozen-lockfile
- name: Run tests
run: |
pnpm run test
backend:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: dtolnay/rust-toolchain@stable
- name: Install packages
run: |
sudo apt-get update
sudo apt-get install libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev
- name: Build
working-directory: ./src-tauri
run: cargo build --verbose
- name: Run tests
working-directory: ./src-tauri
run: cargo test --verbose