Skip to content

Commit

Permalink
Merge branch 'features/hackr-auth' of https://github.com/SpikeViper/V…
Browse files Browse the repository at this point in the history
…alour into features/hackr-auth
  • Loading branch information
SpikeViper committed Jan 15, 2025
2 parents 6f1098c + e372b74 commit d07dccb
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,29 @@ jobs:
build:
runs-on: self-hosted

services:
postgres:
image: postgres:latest
ports:
- 5432:5432
env:
POSTGRES_USER: test_user
POSTGRES_PASSWORD: test_password_123
POSTGRES_DB: valour_test
options: >-
--health-cmd="pg_isready -U test_user"
--health-interval=10s
--health-timeout=5s
--health-retries=5
redis:
image: redis:latest
ports:
- 6379:6379
options: >-
--health-cmd="redis-cli ping || exit 1"
--health-interval=10s
--health-timeout=5s
--health-retries=5
#services:
# postgres:
# image: postgres:latest
# ports:
# - 5432:5432
# env:
# POSTGRES_USER: test_user
# POSTGRES_PASSWORD: test_password_123
# POSTGRES_DB: valour_test
# options: >-
# --health-cmd="pg_isready -U test_user"
# --health-interval=10s
# --health-timeout=5s
# --health-retries=5
#redis:
# image: redis:latest
# ports:
# - 6379:6379
# options: >-
# --health-cmd="redis-cli ping || exit 1"
# --health-interval=10s
# --health-timeout=5s
# --health-retries=5

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -122,10 +122,10 @@ jobs:
- name: Test
env:
TEST_DB: "valour_test"
TEST_DB_HOST: "postgres:5432"
TEST_DB_HOST: "localhost:5432"
TEST_DB_USER: "test_user"
TEST_DB_PASS: "test_password_123"
TEST_REDIS: "redis:6379,abortConnect=False"
TEST_REDIS: "localhost:6379,abortConnect=False"
NODE_NAME: "emma"
run: dotnet test --no-build --verbosity normal
continue-on-error: true
Expand Down

0 comments on commit d07dccb

Please sign in to comment.