Skip to content

Commit

Permalink
fix: Add missing env variables to run tests for release (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
Angak0k authored Apr 23, 2024
1 parent 1de843b commit dec081d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/doc-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22'

- name: Install Swaggo
run: go install github.com/swaggo/swag/cmd/swag@latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:
DB_PORT: 5432
API_SECRET: myawsomeapisecret
TOKEN_HOUR_LIFESPAN: 1
MAIL_IDENTITY: "test@exemple.com"
MAIL_USERNAME: "test_user"
MAIL_PASSWORD: "test_password"
MAIL_SERVER: "smtp.exemple.com"
run: make test

- name: Login to GitHub Container Registry
Expand Down

0 comments on commit dec081d

Please sign in to comment.