From 0cc2c50c6c8dec46df3a1d17152bad9a79b752e0 Mon Sep 17 00:00:00 2001 From: Ivan Ka <5395690+ivankatliarchuk@users.noreply.github.com> Date: Mon, 12 May 2025 12:53:15 +0100 Subject: [PATCH] fix(log testing): re-use logger library testing functionality (#5370) Signed-off-by: ivan katliarchuk --- .github/workflows/ci.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 73f0c926a..9edbb7cc6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,7 +17,11 @@ jobs: checks: write # to create a new check based on the results (shogo82148/actions-goveralls) name: Build - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + # tests for target OS + os: [ubuntu-latest, macos-latest] steps: - name: Check out code into the Go module directory @@ -38,7 +42,7 @@ jobs: run: | apt update apt install -y make gcc libc-dev git - if: github.actor == 'nektos/act' + if: github.actor == 'nektos/act' && matrix.os == 'ubuntu-latest' - name: Test run: make test @@ -47,5 +51,5 @@ jobs: uses: shogo82148/actions-goveralls@v1 with: path-to-profile: profile.cov - if: github.actor != 'nektos/act' + if: github.actor != 'nektos/act' && matrix.os == 'ubuntu-latest' continue-on-error: true