fix(log testing): re-use logger library testing functionality (#5370)

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
This commit is contained in:
Ivan Ka 2025-05-12 12:53:15 +01:00 committed by GitHub
parent 1ac744f304
commit 0cc2c50c6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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