Skip to content

dep: update module code.gitea.io/sdk/gitea to v0.16.0 #1154

dep: update module code.gitea.io/sdk/gitea to v0.16.0

dep: update module code.gitea.io/sdk/gitea to v0.16.0 #1154

Workflow file for this run

name: Testing Coverage
on: [push, pull_request]
jobs:
build:
name: Test and Coverage
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "^1.15.5"
- name: Prepare coverage
run: mkdir coverage
- name: Test
run: SKIP_TYPES=time-dependent go test ./... -coverpkg=$( go list ./... | grep -v /tests | grep -v /tools | paste -sd "," -) -coverprofile coverage/coverage.out
- name: Coverage convert
uses: jandelgado/[email protected]
with:
infile: coverage/coverage.out
outfile: coverage/lcov.info
- name: Coveralls report
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}