refactor(core): own editor UI and pin verified native releases
Gitea CI / Check code and tests (pull_request) Failing after 8s
Gitea CI / Build Android APK (pull_request) Skipped
Gitea CI / Build Windows x64 app (pull_request) Skipped
Gitea CI / Audit and package Windows x64 (pull_request) Skipped
Gitea CI / Assemble and validate CI artifacts (pull_request) Skipped
Gitea CI / Gitea CI passed (pull_request) Failing after 1s
Gitea CI / Check code and tests (pull_request) Failing after 8s
Gitea CI / Build Android APK (pull_request) Skipped
Gitea CI / Build Windows x64 app (pull_request) Skipped
Gitea CI / Audit and package Windows x64 (pull_request) Skipped
Gitea CI / Assemble and validate CI artifacts (pull_request) Skipped
Gitea CI / Gitea CI passed (pull_request) Failing after 1s
This commit is contained in:
1 parent
796a3852a2
commit
38ca180cf7
354 files changed
+29841
-642
No files matched your search
@@ -33,13 +33,24 @@ class ScopeTests(unittest.TestCase):
|
||||
'tool/gitea/ci_scope.py', 'tool/windows/windows_updates.py',
|
||||
'windows/runner/main.cpp.in', 'android/app/build.gradle.kts',
|
||||
'pubspec.yaml', 'pubspec.lock', '.fvmrc', 'packages/cutdex_ui/pubspec.yaml',
|
||||
'packages/cutdex_native/windows/CMakeLists.txt',
|
||||
'packages/cutdex_native/windows/CMakeLists.txt', 'dependencies.json',
|
||||
'lib/integrations/app_update_bridge.dart',
|
||||
'lib/features/settings/update_controller.dart', 'test/app_updates_test.dart'):
|
||||
with self.subTest(path=path):
|
||||
self.assertEqual(select_scope('pull_request', ['README.md', path]),
|
||||
{'build-app': True, 'package-app': True})
|
||||
|
||||
def test_windows_source_setup_preserves_explicit_compiler_configuration(self):
|
||||
workflow = (Path(__file__).resolve().parents[2] / '.gitea/workflows/ci.yml').read_text()
|
||||
branch = workflow.split(' windows-build:', 1)[1].split(' windows:', 1)[0]
|
||||
cleanup = branch.index('Clear inherited native build overrides')
|
||||
setup = branch.index('/.gitea/actions/setup-windows')
|
||||
build = branch.index('Build production Windows app')
|
||||
self.assertLess(cleanup, setup)
|
||||
self.assertLess(setup, build)
|
||||
self.assertIn('"$key=" >> $env:GITHUB_ENV', branch[cleanup:setup])
|
||||
self.assertNotIn('Remove-Item', branch[setup:])
|
||||
|
||||
def test_arbitrary_runtime_markdown_is_not_treated_as_documentation(self):
|
||||
self.assertTrue(select_scope('pull_request', ['assets/help.md'])['build-app'])
|
||||
|
||||
|
||||
Reference in new issue
Block a user