Skip to content

Commit 0cb646c

Browse files
Queries crate (#16)
* added queries management, test * list added * queries feature, excluded from default features * added postgres image to tests workflow * use finished_at instead of multiple timestamps related to finish
1 parent 56e9cf3 commit 0cb646c

21 files changed

Lines changed: 1301 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,20 @@ name: unit-tests
2222
jobs:
2323
required:
2424
runs-on: ubuntu-latest
25+
services:
26+
postgres:
27+
image: postgres:latest
28+
env:
29+
POSTGRES_USER: dev
30+
POSTGRES_PASSWORD: dev
31+
POSTGRES_DB: dev
32+
ports:
33+
- 5432:5432
34+
options: >-
35+
--health-cmd "pg_isready -U dev"
36+
--health-interval 10s
37+
--health-timeout 5s
38+
--health-retries 5
2539
name: ubuntu / ${{ matrix.toolchain }}
2640
strategy:
2741
matrix:

0 commit comments

Comments
 (0)