Skip to content

Commit

Permalink
Merge branch 'main' into update-modules
Browse files Browse the repository at this point in the history
  • Loading branch information
sio4 committed Nov 14, 2021
2 parents 9369361 + 7a17e32 commit 9a292f2
Showing 1 changed file with 25 additions and 13 deletions.
38 changes: 25 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,32 @@
name: Tests
on: [push]
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
tests-on:
name: ${{matrix.go-version}} ${{matrix.os}}
name: ${{ matrix.os }} - Go v${{ matrix.go-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.16.x, 1.17.x]
os: [macos-latest, windows-latest, ubuntu-latest]
go-version:
- "1.16.x"
- "1.17.x"
os:
- "macos-latest"
- "windows-latest"
- "ubuntu-latest"

steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Test
env:
GOPROXY: https://proxy.golang.org
run: |
go test -race ./...
- uses: actions/checkout@v2
- name: Setup Go ${{ matrix.go }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}

- name: Test
run: |
go mod tidy -v
go test -tags "sqlite" -cover ./...

0 comments on commit 9a292f2

Please sign in to comment.