FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Gokapi/.github/workflows/test-code.yml at master · jhenbertgit/Gokapi · GitHub
jhenbertgit
/
Gokapi
Public
forked from
Forceu/Gokapi
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Gokapi
/
.github
/
workflows
/
test-code.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
22 lines (18 loc) · 706 Bytes
Breadcrumbs
Gokapi
/
.github
/
workflows
/
test-code.yml
Copy path
File metadata and controls
22 lines (18 loc) · 706 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name
:
Compile and run unit tests
on
:
[workflow_dispatch, push, pull_request]
permissions
:
contents
:
read
jobs
:
build
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
checkout code
uses
:
actions/checkout@v2
-
uses
:
actions/setup-go@v2
with
:
go-version
:
'
^1.20
'
-
run
:
go generate ./...
-
run
:
go test ./... -parallel 8 -count=1 --tags=test,awsmock
-
run
:
go test ./... -parallel 8 -count=1 --tags=test,noaws
-
run
:
go test ./... --tags=test,noaws,integration -count=1
-
run
:
GOKAPI_AWS_BUCKET="gokapi" GOKAPI_AWS_REGION="eu-central-1" GOKAPI_AWS_KEY="keyid" GOKAPI_AWS_KEY_SECRET="secret" go test ./... --tags=test,awstest -count=1
Back
|
FazBrowse Home
|
New Git URL