ci: separated 64-bit and 32-bit windows builds and filtered winget bu… #460
Workflow file for this run
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: test | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.22.x] | |
platform: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.platform }} | |
env: | |
TERM: xterm-256color | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Test | |
run: go run github.com/onsi/ginkgo/[email protected] -skip="GetQuotes Response" -cover ./... | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
if: success() | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.x | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Generate coverage | |
run: go run github.com/onsi/ginkgo/[email protected] -skip="GetQuotes Response" -cover -outputdir=./ -coverprofile=coverage.out ./... | |
- name: Coveralls | |
uses: coverallsapp/github-action@v2 | |
with: | |
file: ./coverage.out | |
format: golang |