Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
270945f
Pass tag explicitly so that it is not replaced with hash
ZIMkaRU Apr 9, 2026
c9cf271
Merge pull request #617 from ZIMkaRU/bugfix/pass-tag-explicitly-so-th…
btrdnch Apr 10, 2026
a4c080e
Update deps for gh workflow ci
ZIMkaRU Apr 13, 2026
175a1f4
Update deps for gh workflow for test report summary
ZIMkaRU Apr 13, 2026
65be384
Update deps for gh workflow for electron app building
ZIMkaRU Apr 13, 2026
8c24cc9
Update deps for gh workflow for e2e test report summary
ZIMkaRU Apr 13, 2026
914da5d
Fix test report workflow condition
ZIMkaRU Apr 13, 2026
28ba86c
Enhance headless and xvfb usage for e2e testrunner
ZIMkaRU Apr 13, 2026
f2b2043
Rework e2e test report generation
ZIMkaRU Apr 13, 2026
7088af0
Fix e2e test report workflow condition
ZIMkaRU Apr 13, 2026
5d25a64
Add e2e test report titles for platform definition
ZIMkaRU Apr 14, 2026
0758aeb
Increase e2e timeout
ZIMkaRU Apr 14, 2026
fc22e57
Implement total e2e time calc for test-reporter compatibility
ZIMkaRU Apr 14, 2026
e810052
Merge pull request #618 from ZIMkaRU/bugfix/update-gh-actions-to-reso…
btrdnch Apr 15, 2026
1b02303
Add error testers
ZIMkaRU Apr 16, 2026
565de4e
Use documents path getting error tester
ZIMkaRU Apr 16, 2026
9e37c8f
Add error testers to skip logging
ZIMkaRU Apr 16, 2026
efb649f
Add tester: should log be skipped
ZIMkaRU Apr 16, 2026
4e74a08
Use tester: should log be skipped
ZIMkaRU Apr 16, 2026
10b9bbf
Add error testers to suppress err modal win
ZIMkaRU Apr 16, 2026
0d0af4a
Add tester: should error modal win be suppressed
ZIMkaRU Apr 16, 2026
fed8591
Use tester: should error modal win be suppressed
ZIMkaRU Apr 16, 2026
21ca0a3
Fix reg exp tester
ZIMkaRU Apr 17, 2026
ebb6418
Improve error str getter readability
ZIMkaRU Apr 20, 2026
be5a654
Merge pull request #619 from ZIMkaRU/refactoring/rework-error-logging…
btrdnch Apr 22, 2026
5082fe5
Fix GH Actions workflow permissions
ZIMkaRU Apr 29, 2026
04bb3f3
Merge pull request #620 from ZIMkaRU/bugfix/fix-gh-actions-workflow-p…
btrdnch Apr 29, 2026
bbbb177
Bump version up to v4.44.0
ZIMkaRU Apr 29, 2026
d02aaac
Add changelog for v4.44.0
ZIMkaRU Apr 29, 2026
31c765d
Update sub-modules
ZIMkaRU Apr 29, 2026
175c9b8
Merge pull request #621 from ZIMkaRU/feature/release-electron-app
jeojoe Apr 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 44 additions & 39 deletions .github/workflows/build-electron-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6.0.2
with:
submodules: recursive
- if: github.event.inputs.version != ''
Expand All @@ -63,7 +63,7 @@ jobs:
fi
- name: Cache Electron binaries
id: electron-cache
uses: actions/cache@v4
uses: actions/cache@v5.0.4
env:
cache-name: electron-cache-v1
with:
Expand All @@ -75,7 +75,7 @@ jobs:
${{ runner.os }}-build-${{ env.cache-name }}-
- name: Build release
id: release-builder
uses: nick-fields/retry@v3
uses: nick-fields/retry@v4.0.0
continue-on-error: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -93,20 +93,20 @@ jobs:
- name: Zip Linux Unpacked build
run: zip -r dist/linux-unpacked.zip dist/linux-unpacked
- name: Upload Linux Unpacked build
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7.0.0
with:
name: linux-unpacked
path: dist/linux-unpacked.zip
- name: Zip Win Unpacked build
run: zip -r dist/win-unpacked.zip dist/win-unpacked
- name: Upload Win Unpacked build
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7.0.0
with:
name: win-unpacked
path: dist/win-unpacked.zip
- if: env.REPO_OWNER != github.repository_owner
name: Upload Linux Dist Release
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7.0.0
with:
name: linux-dist-release
path: |
Expand All @@ -115,7 +115,7 @@ jobs:
dist/latest-linux.yml
- if: env.REPO_OWNER != github.repository_owner
name: Upload Win Dist Release
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7.0.0
with:
name: win-dist-release
path: |
Expand All @@ -132,7 +132,7 @@ jobs:
runs-on: macos-15-intel
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6.0.2
with:
submodules: recursive
- if: github.event.inputs.version != ''
Expand Down Expand Up @@ -160,12 +160,12 @@ jobs:
else
echo "REPO_OWNER=${{ github.repository_owner }}" >> $GITHUB_ENV
fi
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6.3.0
with:
node-version: 24.14.0
- name: Cache Electron binaries
id: electron-cache
uses: actions/cache@v4
uses: actions/cache@v5.0.4
env:
cache-name: electron-cache-v1
with:
Expand All @@ -176,7 +176,7 @@ jobs:
${{ runner.os }}-build-${{ env.cache-name }}-
- name: Build release
id: release-builder
uses: nick-fields/retry@v3
uses: nick-fields/retry@v4.0.0
continue-on-error: false
env:
APPLE_TEAM_ID: ${{ secrets.BFX_APPLE_TEAM_ID }}
Expand Down Expand Up @@ -208,13 +208,13 @@ jobs:
- name: Zip Mac Unpacked build
run: zip -r dist/mac.zip dist/mac
- name: Upload Mac Unpacked build
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7.0.0
with:
name: mac-unpacked
path: dist/mac.zip
- if: env.REPO_OWNER != github.repository_owner
name: Upload Mac Dist Release
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7.0.0
with:
name: mac-dist-release
path: |
Expand All @@ -231,7 +231,7 @@ jobs:
needs: [linux-win-docker-builder, mac-builder]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6.0.2
- name: Get release version
id: version
run: |
Expand All @@ -251,7 +251,7 @@ jobs:
echo "$CONTENT" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Update matching draft release
uses: actions/github-script@v8
uses: actions/github-script@v9.0.0
env:
VERSION: ${{ steps.version.outputs.version }}
CONTENT: ${{ steps.changelog.outputs.content }}
Expand Down Expand Up @@ -285,6 +285,7 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
release_id: draft.id,
tag_name: draft.tag_name || `v${version}`,
body: content,
})
linux-e2e-test-runner:
Expand All @@ -294,27 +295,25 @@ jobs:
needs: [linux-win-docker-builder]
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
uses: actions/checkout@v6.0.2
- uses: actions/setup-node@v6.3.0
with:
node-version: 24.14.0
- name: Install main dev deps
run: npm i --development --no-audit --progress=false --force
run: npm ci --no-audit --force
- name: Download Linux Unpacked build
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8.0.0
with:
name: linux-unpacked
path: dist
- name: Unzip Linux Unpacked build
run: unzip dist/linux-unpacked.zip
- name: Run tests
uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
with:
run: npm run e2e
run: npm run e2e
- name: Normalize E2E test report
run: node ./scripts/node/normalize-e2e-test-report e2e-test-report.xml
- name: Upload Linux E2E test results
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7.0.0
with:
name: linux-e2e-test-results
path: e2e-test-report.xml
Expand All @@ -326,27 +325,25 @@ jobs:
needs: [linux-win-docker-builder]
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
uses: actions/checkout@v6.0.2
- uses: actions/setup-node@v6.3.0
with:
node-version: 24.14.0
- name: Install main dev deps
run: npm i --development --no-audit --progress=false --force
run: npm ci --no-audit --force
- name: Download Linux Unpacked build
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8.0.0
with:
name: win-unpacked
path: dist
- name: Unzip Win Unpacked build
run: 7z -y x dist/win-unpacked.zip
- name: Run tests
uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
with:
run: npm run e2e
run: npm run e2e
- name: Normalize E2E test report
run: node ./scripts/node/normalize-e2e-test-report e2e-test-report.xml
- name: Upload Win E2E test results
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7.0.0
with:
name: win-e2e-test-results
path: e2e-test-report.xml
Expand All @@ -358,29 +355,37 @@ jobs:
needs: [mac-builder]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6.0.2
- name: Prepare Mac runner
uses: ./.github/actions/prepare-mac-runner
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6.3.0
with:
node-version: 24.14.0
- name: Install main dev deps
run: npm i --development --no-audit --progress=false --force
run: npm ci --no-audit --force
- name: Download Mac Unpacked build
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8.0.0
with:
name: mac-unpacked
path: dist
- name: Unzip Mac Unpacked build
run: unzip dist/mac.zip
- name: Run tests
uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
with:
run: npm run e2e
run: npm run e2e
- name: Normalize E2E test report
run: node ./scripts/node/normalize-e2e-test-report e2e-test-report.xml
- name: Upload Mac E2E test results
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7.0.0
with:
name: mac-e2e-test-results
path: e2e-test-report.xml
web-page-report:
needs:
- linux-e2e-test-runner
- win-e2e-test-runner
- mac-e2e-test-runner
permissions:
contents: read
actions: read
checks: write
uses: ./.github/workflows/e2e-test-report.yml
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6.0.2
with:
submodules: recursive
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6.3.0
with:
node-version: 24.14.0
- name: Setup configs and install deps
run: ./scripts/setup.sh -u
- name: Run tests
uses: nick-fields/retry@v3
continue-on-error: false
with:
timeout_minutes: 20
retry_wait_seconds: 10
max_attempts: 3
retry_on: any
command: npm test -- -- --reporter=json --reporter-option output=test-report.json
- uses: actions/upload-artifact@v4
run: npm test -- -- --reporter=json --reporter-option output=test-report.json
- uses: actions/upload-artifact@v7.0.0
if: success() || failure()
with:
name: test-results
path: test-report.json
web-page-report:
needs: linux-test-runner
permissions:
contents: read
actions: read
checks: write
uses: ./.github/workflows/test-report.yml
34 changes: 13 additions & 21 deletions .github/workflows/e2e-test-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ name: 'E2E Test Report'
run-name: 'E2E Test Report: Commit ${{ github.sha }}'

on:
workflow_run:
workflows: ['Build release']
types:
- completed
workflow_call

permissions:
contents: read
Expand All @@ -16,56 +13,51 @@ jobs:
e2e-web-page-report:
name: E2E Web Page Report
runs-on: ubuntu-22.04
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Download Linux E2E test results
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8.0.0
with:
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
name: linux-e2e-test-results
path: linux-e2e-test-results
- uses: dorny/test-reporter@v1.8.0
- uses: dorny/test-reporter@v3.0.0
id: linux-e2e-test-results
with:
name: Linux E2E Tests
report-title: Linux E2E Tests
path: linux-e2e-test-results/e2e-test-report.xml
reporter: jest-junit
collapsed: never
# Workaround for error 'fatal: not a git repository' caused by a call to 'git ls-files'
# See: https://github.com/dorny/test-reporter/issues/169#issuecomment-1583560458
max-annotations: 0
- name: Download Win E2E test results
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8.0.0
with:
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
name: win-e2e-test-results
path: win-e2e-test-results
- uses: dorny/test-reporter@v1.8.0
- uses: dorny/test-reporter@v3.0.0
id: win-e2e-test-results
with:
name: Win E2E Tests
report-title: Win E2E Tests
path: win-e2e-test-results/e2e-test-report.xml
reporter: jest-junit
collapsed: never
max-annotations: 0
- name: Download Mac E2E test results
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8.0.0
with:
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
name: mac-e2e-test-results
path: mac-e2e-test-results
- uses: dorny/test-reporter@v1.8.0
- uses: dorny/test-reporter@v3.0.0
id: mac-e2e-test-results
with:
name: Mac E2E Tests
report-title: Mac E2E Tests
path: mac-e2e-test-results/e2e-test-report.xml
reporter: jest-junit
collapsed: never
max-annotations: 0
- name: E2E Test Report Summary
run: |
echo "### E2E Test Report page is ready! :rocket:" >> $GITHUB_STEP_SUMMARY
echo "And available at the following links for applicable OSs:" >> $GITHUB_STEP_SUMMARY
echo "- [Linux](${{ steps.linux-e2e-test-results.outputs.url_html }})" >> $GITHUB_STEP_SUMMARY
echo "- [Win](${{ steps.win-e2e-test-results.outputs.url_html }})" >> $GITHUB_STEP_SUMMARY
echo "- [Mac](${{ steps.mac-e2e-test-results.outputs.url_html }})" >> $GITHUB_STEP_SUMMARY
Loading