Skip to content

Commit

Permalink
chore: add windows and macos to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
sweatybridge committed Sep 11, 2024
1 parent b05e885 commit c4eccf6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ on:

jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
name: Test
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

Expand All @@ -19,7 +23,8 @@ jobs:
cache: true

# Required by: internal/utils/credentials/keyring_test.go
- uses: t1m0thyj/unlock-keyring@v1
- if: ${{ matrix.os == 'ubuntu-latest' }}
uses: t1m0thyj/unlock-keyring@v1
- run: |
go run gotest.tools/gotestsum -- ./... -race -v -count=1 \
-coverpkg ./cmd/...,./internal/... -coverprofile=coverage.out
Expand Down

0 comments on commit c4eccf6

Please sign in to comment.