mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-08-21 14:34:32 +00:00
ci: build, test and package the macOS menubar on every mac/ change
release-menubar.yml only packages; the 170+ Swift tests gated nothing.
This commit is contained in:
parent
c9ad778cbc
commit
6bd86dbc36
1 changed files with 34 additions and 0 deletions
34
.github/workflows/mac-menubar-ci.yml
vendored
Normal file
34
.github/workflows/mac-menubar-ci.yml
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
name: macOS Menubar CI
|
||||
|
||||
# The macOS menubar (mac/) ships from release-menubar.yml, which only packages the app.
|
||||
# Its Swift test suite (170+ tests covering the credential stores, Keychain cache,
|
||||
# serve connection, quota parsing) gated nothing until this workflow. Runs on every
|
||||
# PR touching mac/** so a red test fails the PR, the same way tests.yml does for the CLI.
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- .github/workflows/mac-menubar-ci.yml
|
||||
- mac/**
|
||||
pull_request:
|
||||
paths:
|
||||
- .github/workflows/mac-menubar-ci.yml
|
||||
- mac/**
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: macos-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- name: Swift toolchain
|
||||
run: swift --version
|
||||
- name: Build
|
||||
run: swift build --package-path mac
|
||||
- name: Test
|
||||
run: swift test --package-path mac
|
||||
- name: Package (same script the release uses)
|
||||
run: mac/Scripts/package-app.sh ci-smoke
|
||||
Loading…
Add table
Add a link
Reference in a new issue