diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 787cd9d4..40439dd6 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -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 @@ -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