mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-21 11:26:15 +02:00
0d4d029011
* build: Update pnpm to v9 * update actions * remove last actions-rs usage * clippy * clippy again * revert default feature
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
name: integration tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- v1
|
|
- v2
|
|
paths:
|
|
- ".github/workflows/integration-tests.yml"
|
|
- "plugins/updater/src/**"
|
|
pull_request:
|
|
branches:
|
|
- v1
|
|
- v2
|
|
paths:
|
|
- ".github/workflows/integration-tests.yml"
|
|
- "plugins/updater/src/**"
|
|
|
|
jobs:
|
|
run-integration-tests:
|
|
runs-on: ${{ matrix.platform }}
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
platform: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: install stable
|
|
uses: dtolnay/rust-toolchain@stable
|
|
|
|
- name: install Linux dependencies
|
|
if: matrix.platform == 'ubuntu-latest'
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y libwebkit2gtk-4.1-dev libayatana-appindicator3-dev libfuse2
|
|
|
|
- uses: Swatinem/rust-cache@v2
|
|
|
|
- name: install Tauri CLI
|
|
run: cargo install tauri-cli --git https://github.com/tauri-apps/tauri --branch dev
|
|
|
|
- name: run integration tests
|
|
run: cargo test --test '*' -- --ignored
|