unit tests
Signed-off-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
parent
7f5ced76f6
commit
ff5f860cee
464 changed files with 94681 additions and 62523 deletions
14
.github/actions/check/Dockerfile
vendored
14
.github/actions/check/Dockerfile
vendored
|
|
@ -1,14 +0,0 @@
|
|||
FROM golangci/golangci-lint:v1.12.5
|
||||
|
||||
RUN apt-get install git
|
||||
|
||||
LABEL "com.github.actions.name"="Check"
|
||||
LABEL "com.github.actions.description"="Run static analysis and unit tests"
|
||||
LABEL "com.github.actions.icon"="check-circle"
|
||||
LABEL "com.github.actions.color"="green"
|
||||
|
||||
COPY "entrypoint.sh" "/entrypoint.sh"
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
ENV GOFLAGS -mod=vendor
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
4
.github/actions/check/entrypoint.sh
vendored
4
.github/actions/check/entrypoint.sh
vendored
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
golangci-lint run
|
||||
go test -cover -short ./...
|
||||
12
.github/actions/integration/Dockerfile
vendored
12
.github/actions/integration/Dockerfile
vendored
|
|
@ -1,12 +0,0 @@
|
|||
FROM golangci/golangci-lint:v1.12.5
|
||||
|
||||
LABEL "com.github.actions.name"="Check"
|
||||
LABEL "com.github.actions.description"="Run integration tests"
|
||||
LABEL "com.github.actions.icon"="check-circle"
|
||||
LABEL "com.github.actions.color"="green"
|
||||
|
||||
COPY "entrypoint.sh" "/entrypoint.sh"
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
ENV GOFLAGS -mod=vendor
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
3
.github/actions/integration/entrypoint.sh
vendored
3
.github/actions/integration/entrypoint.sh
vendored
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
go test -cover ./actions
|
||||
Loading…
Add table
Add a link
Reference in a new issue