-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(updater): refactor and improvements (#431)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio> Co-authored-by: Lucas Nogueira <lucas@tauri.app>
- Loading branch information
1 parent
84133b5
commit 4ab90f0
Showing
18 changed files
with
1,229 additions
and
2,726 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"updater": minor | ||
"updater-js": minor | ||
--- | ||
|
||
The updater plugin is recieving a few changes to improve consistency and ergonomics of the Rust and JS APIs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# 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@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: install stable | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
|
||
- name: install Linux dependencies | ||
if: matrix.platform == 'ubuntu-latest' | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y webkit2gtk-4.1 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.