Skip to content

Fix resource including query string when no OpenAPI spec is used #201

Fix resource including query string when no OpenAPI spec is used

Fix resource including query string when no OpenAPI spec is used #201

Workflow file for this run

name: Test and coverage
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-image: [ '1.18-bullseye' ]
steps:
- uses: actions/checkout@v3
- name: Remove workspace file
run: rm go.work
- name: Run coverage
run: docker run --rm -v ${{ github.workspace }}:/src -w /src golang:${{ matrix.go-image }} go test ./... -race -coverprofile coverage.out -covermode atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)