Skip to content

Add gear.ThresholdCompress instead of `github.com/teambition/compre… #5

Add gear.ThresholdCompress instead of `github.com/teambition/compre…

Add gear.ThresholdCompress instead of `github.com/teambition/compre… #5

Workflow file for this run

name: Gear CI Cover
on:
push:
tags:
- '*'
jobs:
# Test on various OS with default Go version.
tests:
name: Test on ${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
go-version: ['1.20.x']
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Print Go version
run: go version
- name: Get dependencies
run: go get -v -t -d ./...
- name: Run tests
run: make cover
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.out
flags: unittests
name: codecov-umbrella
verbose: true