Skip to content

Commit

Permalink
Fix CI pipelines (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalyisaev2 authored Jan 12, 2024
1 parent df7e505 commit e5bc8ba
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
./fq-connector-go-tests -projectPath=$(pwd) -test.coverprofile=coverage_integration_tests.out
- name: Union coverage
run: |
cat coverage_unit_tests.out | grep -v pb.go | grep -v tests > coverage.out
cat coverage_integration_tests.out | grep -v pb.go | grep -v tests | grep -v 'mode: atomic' >> coverage.out
cat coverage_unit_tests.out > coverage.out
cat coverage_integration_tests.out | grep -v 'mode: atomic' >> coverage.out
go tool cover -func=coverage.out
rm coverage_unit_tests.out coverage_integration_tests.out
- name: Upload coverage to Codecov
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ jobs:
- name: Run integration tests
run: |
# give datasources some time to initialize
sleep 3
go test -c -o fq-connector-go-tests ./tests
./fq-connector-go-tests
./fq-connector-go-tests -projectPath=$(pwd)
- name: Build and push Docker image
run: |
docker login --username vitalyisaev2 --password ${{ secrets.GHCR_TOKEN }} ghcr.io
Expand Down
3 changes: 3 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
ignore:
- "api"
- "app/config"
- "library"
- "*_mock.go"
- "*_test.go"
- "tests"

0 comments on commit e5bc8ba

Please sign in to comment.