Skip to content

test: skip cancel test on windows #876

test: skip cancel test on windows

test: skip cancel test on windows #876

Workflow file for this run

# generated-from:2b032db735b20164e9573e897cc0e43f41777de7e64c1a204fe2943d0d98999e DO NOT REMOVE, DO UPDATE
name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Go Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: 'stable'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install make (Windows)
if: runner.os == 'Windows'
run: choco install -y make mingw
- name: Install
run: make install
- name: Setup
if: runner.os == 'Linux'
run: make setup
- name: Check
if: runner.os == 'Linux'
run: make check
- name: Go Tests
if: runner.os != 'Linux'
run: go test ./... -count 1 -short
- uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: "go-tooling-reports.zip"
path: |
./**/coverage.txt
./**/mem.out
./**/cpu.out
- name: Upload Code Coverage
if: runner.os == 'Linux'
run: bash <(curl -s https://codecov.io/bash)
docker:
name: Docker Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: 'stable'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install
run: make install
- name: Docker Build
if: runner.os == 'Linux'
run: make dev-docker