Skip to content

Commit

Permalink
WIP - Add windows and mac test runners
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSisley committed Nov 10, 2023
1 parent 597d8f3 commit 51e3b75
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/test-and-upload-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,31 @@ jobs:
run-tests:
name: Run tests matrix job

runs-on: ubuntu-latest

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
client-type: [go, http, cli]
database-type: [badger-file, badger-memory]
mutation-type: [gql, collection-named, collection-save]
detect-changes: [false]
include:
- client-type: go
- os: ubuntu-latest
client-type: go
database-type: badger-memory
mutation-type: collection-save
detect-changes: true
- os: windows-latest
client-type: go
database-type: badger-memory
mutation-type: collection-save
detect-changes: false
- os: macos-latest
client-type: go
database-type: badger-memory
mutation-type: collection-save
detect-changes: false

runs-on: ${{ matrix.os }}

env:
DEFRA_CLIENT_GO: ${{ matrix.client-type == 'go' }}
Expand Down

0 comments on commit 51e3b75

Please sign in to comment.