Skip to content

Merge pull request #4 from davesavic/3-retry-functionality-does-not-r… #11

Merge pull request #4 from davesavic/3-retry-functionality-does-not-r…

Merge pull request #4 from davesavic/3-retry-functionality-does-not-r… #11

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
go-version: ['>=1.18.0']
os: [ubuntu-latest,]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Unshallow git checkout
run: git fetch --prune --unshallow
- name: Run tests
run: go test -v -covermode=count -coverprofile=coverage.out ./...
- name: Convert coverage to lcov
uses: jandelgado/[email protected]
- name: Report coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov