Skip to content

add unit test for NewFunctionJobWithDesc and Key (#58) #100

add unit test for NewFunctionJobWithDesc and Key (#58)

add unit test for NewFunctionJobWithDesc and Key (#58) #100

Workflow file for this run

name: Build
on:
push:
branches:
- '**'
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.18.x, 1.20.x]
steps:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
- name: Run coverage
run: go test ./... -coverprofile=coverage.out -covermode=atomic
- name: Upload coverage to Codecov
if: ${{ matrix.go-version == '1.18.x' }}
run: bash <(curl -s https://codecov.io/bash)