Try to fix codecov.yml

new-query-chunks-api
Vinícius Garcia 2022-05-21 18:16:25 -03:00
parent 1f7d20d8b4
commit 1f4b6605d6
2 changed files with 13 additions and 14 deletions

View File

@ -7,18 +7,18 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Pull Postgres #- name: Pull Postgres
run: docker pull postgres:14.0 # run: docker pull postgres:14.0
- name: Pull MySQL #- name: Pull MySQL
run: docker pull mysql:8.0.27 # run: docker pull mysql:8.0.27
- name: Pull SQLServer #- name: Pull SQLServer
run: docker pull mcr.microsoft.com/mssql/server:2017-latest # run: docker pull mcr.microsoft.com/mssql/server:2017-latest
- name: Check go version #- name: Check go version
run: go version # run: go version
- name: Run linters #- name: Run linters
run: go vet ./... && go install honnef.co/go/tools/cmd/staticcheck@latest && bash -c "$(go env GOPATH)/bin/staticcheck ./..." # run: go vet ./... && go install honnef.co/go/tools/cmd/staticcheck@latest && bash -c "$(go env GOPATH)/bin/staticcheck ./..."
- name: Run Tests #- name: Run Tests
run: ./scripts/run-all-tests.sh # run: ./scripts/run-all-tests.sh
- name: Run Coverage - name: Run Coverage
run: bash <(curl -s https://codecov.io/bash) run: bash <(curl -s https://codecov.io/bash)
env: env:

View File

@ -7,7 +7,6 @@ coverage:
status: status:
changes: changes:
default: default:
threshold: 2%
# ignore errors from changes, this raises false negatives for # ignore errors from changes, this raises false negatives for
# code refactors, and I do many refactors, so I don't want this. # code refactors, and I do many refactors, so I don't want this.
#if_ci_failed: ignore if_ci_failed: ignore