Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/build-and-dockerize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,13 @@
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Migrate DB
run: |
dotnet tool restore
dotnet ef database update --startup-project BervProject.WebApi.Boilerplate --project BervProject.WebApi.Boilerplate
dotnet ef database update \
--startup-project BervProject.WebApi.Boilerplate \
--project BervProject.WebApi.Boilerplate \
--connection "Host=localhost;Database=testdb;Username=postgres;Password=postgres"
- name: Test

Check warning on line 53 in .github/workflows/build-and-dockerize.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

"Password" detected here, make sure this is not a hard-coded credential.

See more on https://sonarcloud.io/project/issues?id=bervProject_NET-Core-API-Boilerplate&issues=AZ29MiQFUyinLnges8gZ&open=AZ29MiQFUyinLnges8gZ&pullRequest=3178
run: dotnet test --configuration Release --no-restore --no-build --verbosity normal --collect:"XPlat Code Coverage"
- name: Report Codecov
uses: codecov/codecov-action@v6
Loading