Skip to content

Commit 543cef5

Browse files
committed
Merge upstream main into fix/dashboard-detail-latest-request
Align existing OtterMind/Chat2DB PR OtterMind#2836, retaining its focused behavior and current Community contracts.
2 parents cd1e9f0 + dc2b80a commit 543cef5

653 files changed

Lines changed: 44367 additions & 5048 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/ci.yml‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,49 @@ jobs:
143143
- name: Package backend
144144
run: mvn -B package -DskipTests -Dmaven.test.skip=false -Dchat2db.finalName=chat2db-community -f chat2db-community-server/pom.xml -pl chat2db-community-start -am
145145

146+
updater:
147+
name: Desktop updater tests (${{ matrix.os }})
148+
strategy:
149+
fail-fast: false
150+
matrix:
151+
os: [ubuntu-latest, windows-latest, macos-latest]
152+
runs-on: ${{ matrix.os }}
153+
steps:
154+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
155+
- uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00
156+
with:
157+
distribution: temurin
158+
java-version: '17'
159+
cache: maven
160+
- name: Test Windows signing script
161+
if: runner.os == 'Windows'
162+
shell: pwsh
163+
run: |
164+
choco install winscp -y --no-progress
165+
if ($LASTEXITCODE -ne 0) { throw 'WinSCP installation failed' }
166+
./script/package/tests/windows-signing-test.ps1 -WinScpPath "${env:ProgramFiles(x86)}/WinSCP/WinSCP.com"
167+
168+
- name: Test updater and desktop integration
169+
shell: bash
170+
run: |
171+
mvn -B -f chat2db-community-server/pom.xml -pl :chat2db-community-jcef,:chat2db-community-bootstrap -am \
172+
-Dmaven.test.skip=false -DskipTests=false \
173+
'-Dtest=Chat2DBBootstrapTest,FullPackage*Test,Update*Test,NativePackageInstallerTest,SemanticVersionTest,InstalledAppVersionReaderTest,TrustedUpdateKeysTest,GitHubReleaseDesktopUpdaterTest,DesktopUpdaterRegistryTest,RestartAppHandlerTest' \
174+
-Dsurefire.failIfNoSpecifiedTests=false -Dmaven.test.failure.ignore=false test
175+
146176
repository:
147177
name: Repository and documentation checks
148178
runs-on: ubuntu-latest
149179
steps:
150180
- name: Check out repository
151181
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
152182

183+
- name: Test desktop layout, Beta pointer, and release guards
184+
run: |
185+
bash script/package/tests/desktop-layout-test.sh
186+
python3 script/package/tests/release-deletion-guard-test.py
187+
ruby script/package/tests/community-beta-workflow-test.rb
188+
153189
- name: Validate required repository files
154190
run: |
155191
test -s README.md

0 commit comments

Comments
 (0)