-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6972c46
commit a96479a
Showing
4 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ jobs: | |
test: | ||
strategy: | ||
matrix: | ||
go-version: [ 1.18.x ] | ||
go-version: [ 1.23.x ] | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
|
@@ -55,14 +55,17 @@ jobs: | |
- name: Unit Tests | ||
run: | | ||
mkdir -p build | ||
go test -gcflags=all=-l $(go list ./... | grep -v /test/ | grep -v /parser | grep -v /types) -coverprofile=coverage.txt -covermode=atomic | ||
go test -gcflags=all=-l ./pkg/... -coverprofile=coverage.txt -covermode=atomic | ||
- name: Post Coverage | ||
run: bash <(curl -s https://codecov.io/bash) | ||
|
||
- name: Shutdown Ubuntu MySQL (SUDOx) | ||
run: sudo service mysql stop | ||
|
||
- name: Setup Docker compose | ||
uses: ndeloof/[email protected] | ||
|
||
- name: Integration Tests | ||
shell: bash | ||
run: make integration-test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:1.18.3 as builder | ||
FROM golang:1.23.3 as builder | ||
WORKDIR /app | ||
ADD . /app | ||
RUN make build-local | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters