Reverted tests

pull/1991/head
jLynx 8 months ago
parent cd37fc129b
commit a6b9da7455

@ -1,52 +1,52 @@
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy # Copyright 2019-2023 Tauri Programme within The Commons Conservancy
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
name: integration tests name: integration tests
on: on:
push: push:
branches: branches:
- v1 - v1
- v2 - v2
paths: paths:
- '.github/workflows/integration-tests.yml' - '.github/workflows/integration-tests.yml'
- 'plugins/updater/src/**' - 'plugins/updater/src/**'
pull_request: pull_request:
branches: branches:
- v1 - v1
- v2 - v2
paths: paths:
- '.github/workflows/integration-tests.yml' - '.github/workflows/integration-tests.yml'
- 'plugins/updater/src/**' - 'plugins/updater/src/**'
jobs: jobs:
run-integration-tests: run-integration-tests:
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
platform: [ubuntu-22.04, macos-latest, windows-latest] platform: [ubuntu-22.04, macos-latest, windows-latest]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: install stable - name: install stable
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
- name: install Linux dependencies - name: install Linux dependencies
if: matrix.platform == 'ubuntu-22.04' if: matrix.platform == 'ubuntu-22.04'
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y webkit2gtk-4.0 libwebkit2gtk-4.1-dev libayatana-appindicator3-dev libfuse2 sudo apt-get install -y webkit2gtk-4.0 libwebkit2gtk-4.1-dev libayatana-appindicator3-dev libfuse2
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
- name: install Tauri CLI - name: install Tauri CLI
run: cargo install tauri-cli --git https://github.com/tauri-apps/tauri --branch dev run: cargo install tauri-cli --git https://github.com/tauri-apps/tauri --branch dev
- name: run integration tests - name: run integration tests
run: cargo test --test '*' -- --ignored run: cargo test --test '*' -- --ignored
Loading…
Cancel
Save