Adding tests for QueryWorkflowWithOptions #8
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: Workflow for Codecov integration | |
on: [push, pull_request] | |
jobs: | |
codecov: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.22.x | |
cache: false | |
- name: Download dependencies | |
run: go mod download | |
- name: Test and generate coverage report | |
run: make unit_test | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4.0.1 # https://github.com/codecov/codecov-action | |
with: | |
file: .build/cover.out | |
exclude: ./ | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: uber-go/cadence-client |