Test workflow release #54
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "ci" | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
types: [ 'opened', 'closed' ] | |
branches: [ 'main', 'release' ] | |
jobs: | |
Test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: [ '1.18', 'oldstable', 'stable' ] | |
name: Run tests with Go ${{ matrix.go }} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Go env | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Run tests | |
run: | | |
go version | |
go test -v -timeout 9999s -count 1 -p 1 -cover -coverprofile coverage.txt . | |
- name: Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
flags: generic | |
name: generic |