Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
apolukhin committed Apr 18, 2024
1 parent 6c1bbf9 commit 605dd0f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 17 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,6 @@ jobs:

name: '${{matrix.os}}: ${{matrix.info}}'
runs-on: ${{matrix.os}}
services:
postgres:
image: postgres

env:
POSTGRES_PASSWORD: password
POSTGRES_USER: uservice_dynconf
POSTGRES_DB: uservice_dynconf

options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v2
with:
Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ if(NOT userver_FOUND) # Fallback to subdirectory usage
endif()
endif()
userver_setup_environment()
enable_testing()

# Service target
file(
Expand Down
2 changes: 2 additions & 0 deletions configs/config_vars.testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ logger-level: debug

is_testing: true

server-port: 8083

dbconnection: 'postgresql://testsuite@localhost:15433/testdb_uservice_dynconf'
2 changes: 1 addition & 1 deletion configs/config_vars.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
worker-threads: 4
logger-level: debug
logger-level: info

is_testing: false

Expand Down

0 comments on commit 605dd0f

Please sign in to comment.