Skip to content

Commit e6a55ce

Browse files
ci: add macos integration test
1 parent adc689a commit e6a55ce

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,28 @@ jobs:
8181
env:
8282
CODSPEED_SKIP_UPLOAD: true
8383
CODSPEED_DEBUG: true
84+
85+
walltime-macos-test:
86+
runs-on: macos-latest
87+
steps:
88+
- uses: "actions/checkout@v4"
89+
with:
90+
fetch-depth: 0
91+
submodules: true
92+
- uses: pnpm/action-setup@v2
93+
- uses: actions/setup-node@v3
94+
with:
95+
cache: pnpm
96+
node-version-file: .nvmrc
97+
- run: pnpm install --frozen-lockfile --prefer-offline
98+
- run: pnpm moon run :build
99+
100+
- name: Run benchmarks
101+
uses: CodSpeedHQ/action@main
102+
env:
103+
CODSPEED_SKIP_UPLOAD: "true"
104+
with:
105+
run: pnpm moon run vitest-plugin:bench
106+
mode: walltime
107+
# TODO: Remove this once the runner has been released with macos support
108+
runner-version: branch:main

0 commit comments

Comments
 (0)