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

View File

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