Skip to content

Commit d45d762

Browse files
committed
add GHA workflow to run tests on macOS
1 parent 1cfe276 commit d45d762

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.github/workflows/test-macos.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: test-macos
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test-macos:
9+
runs-on: macos-13
10+
steps:
11+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
12+
with:
13+
ref: ${{ github.event.pull_request.head.sha }} # to match buildomat behavior
14+
- name: Toolchain setup
15+
run: |
16+
set -o xtrace
17+
source .github/workflows/macos-setup.sh
18+
echo "PATH=$PATH" >>"$GITHUB_ENV"
19+
- name: Test
20+
run: gmake -j`sysctl -n hw.ncpu` test
21+
env:
22+
BROWSERSLIST_IGNORE_OLD_DATA: 1
23+

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ SUBTESTS :=
130130
LINTTIMEOUT := 30m
131131

132132
## Test timeout to use for regular tests.
133-
TESTTIMEOUT := 60m
133+
TESTTIMEOUT := 90m
134134

135135
## Test timeout to use for race tests.
136136
RACETIMEOUT := 45m

0 commit comments

Comments
 (0)