Skip to content

Commit 0cc2c50

Browse files
fix(log testing): re-use logger library testing functionality (#5370)
Signed-off-by: ivan katliarchuk <[email protected]>
1 parent 1ac744f commit 0cc2c50

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ jobs:
1717
checks: write # to create a new check based on the results (shogo82148/actions-goveralls)
1818

1919
name: Build
20-
runs-on: ubuntu-latest
20+
runs-on: ${{ matrix.os }}
21+
strategy:
22+
matrix:
23+
# tests for target OS
24+
os: [ubuntu-latest, macos-latest]
2125
steps:
2226

2327
- name: Check out code into the Go module directory
@@ -38,7 +42,7 @@ jobs:
3842
run: |
3943
apt update
4044
apt install -y make gcc libc-dev git
41-
if: github.actor == 'nektos/act'
45+
if: github.actor == 'nektos/act' && matrix.os == 'ubuntu-latest'
4246

4347
- name: Test
4448
run: make test
@@ -47,5 +51,5 @@ jobs:
4751
uses: shogo82148/actions-goveralls@v1
4852
with:
4953
path-to-profile: profile.cov
50-
if: github.actor != 'nektos/act'
54+
if: github.actor != 'nektos/act' && matrix.os == 'ubuntu-latest'
5155
continue-on-error: true

0 commit comments

Comments
 (0)