Skip to content

Commit

Permalink
ci: Add mac test runner (#2035)
Browse files Browse the repository at this point in the history
## Relevant issue(s)

Resolves #2034

## Description

Adds a mac (latest) test run to our test matrix.

This only use the lightest of configurations we have, I think this will
catch any/99% issues that we would otherwise miss.

Windows has been broken out to a different ticket, as quite a lot of
tests fail on windows and it will take more effort to get working:
#2033
  • Loading branch information
AndrewSisley authored Nov 13, 2023
1 parent 7c490de commit 988b178
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 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,26 @@ jobs:
run-tests:
name: Run tests matrix job

runs-on: ubuntu-latest

strategy:
matrix:
os: [ubuntu-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: 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 988b178

Please sign in to comment.