Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,15 @@ jobs:

- name: Restore dependencies
run: dotnet restore
env:
ConnectionStrings__PreceptDb: "Host=localhost;Port=5432;Username=${{ env.TEST_DB_USER }};Password=${{ steps.db-password.outputs.password }};Database=${{ env.TEST_DB_NAME }}"

- name: Build
run: dotnet build --configuration Release --no-restore
env:
ConnectionStrings__PreceptDb: "Host=localhost;Port=5432;Username=${{ env.TEST_DB_USER }};Password=${{ steps.db-password.outputs.password }};Database=${{ env.TEST_DB_NAME }}"

- name: Test
run: dotnet test --configuration Release --no-build --logger "trx" --results-directory "TestResults"
env:
# Tell the shared test fixture to use the CI-provisioned Postgres
# server instead of starting a Testcontainers container.
ConnectionStrings__PreceptDb: "Host=localhost;Port=5432;Username=${{ env.TEST_DB_USER }};Password=${{ steps.db-password.outputs.password }};Database=${{ env.TEST_DB_NAME }}"

# OWASP A06: Scan for vulnerable NuGet packages
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ secrets.json
appsettings.*.json
!appsettings.json

Migrations/

.vscode/

node_modules/
Expand Down
Loading
Loading