Skip to content

Commit

Permalink
Add Console app testing to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rmartin16 committed Jun 9, 2024
1 parent eeca223 commit 5ad24aa
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ jobs:
strategy:
fail-fast: false
matrix:
framework: [ "toga", "pyside6", "pygame" ]
framework: [ "toga", "pyside6", "pygame", "console" ]
runner-os: [ "macos-12", "macos-14", "ubuntu-22.04", "windows-latest" ]

verify-apps:
Expand All @@ -206,5 +206,5 @@ jobs:
strategy:
fail-fast: false
matrix:
framework: [ "toga", "pyside6", "pygame" ]
framework: [ "toga", "pyside6", "pygame", "console" ]
runner-os: [ "macos-12", "macos-14", "ubuntu-22.04", "windows-latest" ]
1 change: 0 additions & 1 deletion automation/src/automation/bootstraps/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ def main():
time.sleep(2)
print("{EXIT_SUCCESS_NOTIFY}")
print("{BRIEFCASE_EXIT_SUCCESS_SIGNAL}")
"""
1 change: 1 addition & 0 deletions changes/1867.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Console app testing was added to CI.
1 change: 0 additions & 1 deletion src/briefcase/bootstraps/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ def app_source(self):
def main():
# Your app logic goes here
print("Hello, World.")
"""

def app_start_source(self):
Expand Down
1 change: 0 additions & 1 deletion tests/commands/new/test_build_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ def test_question_sequence_console(new_command):
def main():
# Your app logic goes here
print("Hello, World.")
""",
app_start_source="""\
from {{ cookiecutter.module_name }}.app import main
Expand Down

0 comments on commit 5ad24aa

Please sign in to comment.