Skip to content

Commit

Permalink
.github: run tests with Go 1.15 (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear authored Jun 1, 2023
1 parent b299ae9 commit 40c1550
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
go: [ 'stable', 'oldstable' ]
go: [ '1.15', 'stable', 'oldstable' ]

runs-on: ${{ matrix.os }}
steps:
Expand All @@ -41,8 +41,18 @@ jobs:
- name: Go Mod Verify
run: |
go mod verify
- name: Test Go 1.15
# This step if needed because -shuffle not available on Go 1.15.
# Tests are failing on MacOS. So, we just disable it.
if: >-
matrix.go == '1.15' && matrix.os != 'macos-latest'
run: |
go test -v -race -cover ./...
- name: Test
if: >-
matrix.go != '1.15'
run: |
go test -v -race -shuffle=on -cover ./...
Expand Down

0 comments on commit 40c1550

Please sign in to comment.