Skip to content

Commit

Permalink
Add test matrix for vast tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-kosolapov-zattoo committed Jul 19, 2024
1 parent 5f9b5bd commit 13d74ad
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Upload Go test results

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.13', '1.20', '1.21' ]

steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: go get .
- name: Test with Go
run: go test -json > TestResults-${{ matrix.go-version }}.json
- name: Upload Go test results
uses: actions/upload-artifact@v4
with:
name: Go-results-${{ matrix.go-version }}
path: TestResults-${{ matrix.go-version }}.json

0 comments on commit 13d74ad

Please sign in to comment.