-
-
Notifications
You must be signed in to change notification settings - Fork 689
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run testbed with Textual in CI (without tests)
- Loading branch information
Showing
4 changed files
with
55 additions
and
13 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 |
---|---|---|
|
@@ -189,7 +189,17 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
backend: [ "macOS-x86_64", "macOS-arm64", "windows", "linux-x11", "linux-wayland","android", "iOS" ] | ||
backend: | ||
- "macOS-x86_64" | ||
- "macOS-arm64" | ||
- "windows" | ||
- "linux-x11" | ||
- "linux-wayland" | ||
- "android" | ||
- "iOS" | ||
- "textual-linux" | ||
- "textual-macOS" | ||
- "textual-windows" | ||
include: | ||
- pre-command: "" | ||
briefcase-run-prefix: "" | ||
|
@@ -265,6 +275,25 @@ jobs: | |
setup-python: false # Use the system Python packages | ||
app-user-data-path: "$HOME/.local/share/testbed" | ||
|
||
- backend: "textual-linux" | ||
platform: "linux" | ||
runs-on: "ubuntu-22.04" | ||
setup-python: false # Use the system Python packages | ||
briefcase-run-args: --config 'requires=["../core","../textual"]' --config 'console_app=true' | ||
app-user-data-path: "$HOME/.local/share/testbed" | ||
|
||
- backend: "textual-macOS" | ||
platform: "macOS" | ||
runs-on: "macos-14" | ||
briefcase-run-args: --config 'requires=["../core","../textual"]' --config 'console_app=true' | ||
app-user-data-path: "$HOME/Library/Application Support/org.beeware.toga.testbed" | ||
|
||
- backend: "textual-windows" | ||
platform: "windows" | ||
runs-on: "windows-latest" | ||
briefcase-run-args: --config 'requires=["../core","../textual"]' --config 'console_app=true' | ||
app-user-data-path: '$HOME\AppData\Local\Tiberius Yak\Toga Testbed\Data' | ||
|
||
- backend: "windows" | ||
platform: "windows" | ||
runs-on: "windows-latest" | ||
|
@@ -274,7 +303,7 @@ jobs: | |
platform: "iOS" | ||
runs-on: "macos-14" | ||
# As of early April 2024, the XCode 15/iOS 17 simulator had a performance | ||
# issue that rendered Github Actions testing impossible. The issue didn't | ||
# issue that rendered GitHub Actions testing impossible. The issue didn't | ||
# impact iOS 16.4, but that required the use of Xcode 14.3.1. | ||
# | ||
# Refs #2476, actions/runner-images#9591. | ||
|
@@ -301,7 +330,7 @@ jobs: | |
sudo udevadm control --reload-rules | ||
sudo udevadm trigger --name-match=kvm | ||
steps: | ||
# Github runners seem to have intermittent connectivity issues. | ||
# GitHub runners seem to have intermittent connectivity issues. | ||
# See https://github.com/beeware/toga/issues/2632 | ||
- name: Tune GitHub-hosted runner network | ||
uses: smorimoto/[email protected] | ||
|
@@ -326,9 +355,7 @@ jobs: | |
${{ matrix.pre-command }} | ||
# Use the development version of Briefcase | ||
python -m pip install -U pip | ||
# python -m pip install git+https://github.com/beeware/briefcase.git | ||
# TODO: Use the stable release of Briefcase so that binary packages are available. | ||
python -m pip install briefcase==0.3.19 | ||
python -m pip install git+https://github.com/beeware/briefcase.git | ||
- name: Test App | ||
working-directory: testbed | ||
|
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
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
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