Update Konflux references #321
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: Go tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
gotests: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
go-version: | |
- "1.20" | |
- "1.21" | |
name: Tests for Go ${{ matrix.go-version}} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Print env vars | |
run: env | |
- name: Unit tests | |
run: make test | |
- name: Check code coverage | |
run: ./check_coverage.sh | |
- name: Display code coverage | |
run: make coverage |