Skip to content
Merged
Changes from all commits
Commits
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
18 changes: 17 additions & 1 deletion .github/workflows/verify-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,27 @@ jobs:
# Required on every supported runner, including macOS foreground. A skip fails the job.
- name: Native compiled coordinated upgrade and rollback
shell: bash
# The suite bounds each test at 15 min; a stall past that (seen twice on windows-latest, killed at the 60 min job
# limit with no log) must fail here with its output kept.
timeout-minutes: 25
env:
OMPWEB_COMPILED_UPGRADE_E2E: "1"
run: |
export OMPWEB_UPGRADE_E2E_RUNNER="$(node -p "require('node:path').resolve('runner', 'release', 'ompweb-omp-' + (process.platform === 'win32' ? 'windows' : process.platform) + '-' + process.arch + (process.platform === 'win32' ? '.exe' : ''))")"
npx bun test --parallel --timeout 900000 lib/compiled-upgrade.integration.test.mjs
# Output goes to a file, not the step's pipe: a detached process that inherits the pipe keeps a Windows step open.
log="$RUNNER_TEMP/compiled-upgrade.log"
status=0
npx bun test --parallel --timeout 900000 lib/compiled-upgrade.integration.test.mjs > "$log" 2>&1 < /dev/null || status=$?
cat "$log"
exit "$status"

- name: Upload the coordinated upgrade log
if: ${{ !cancelled() && failure() }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: compiled-upgrade-${{ matrix.os }}
path: ${{ runner.temp }}/compiled-upgrade.log
if-no-files-found: ignore

- name: Packed install smoke test
shell: bash
Expand Down
Loading