Skip to content

Commit d9b066d

Browse files
committed
Merge branch 'main' into aumetra/db-restructure
2 parents 922527f + 43cfc17 commit d9b066d

File tree

51 files changed

+1285
-915
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1285
-915
lines changed

.github/workflows/rust.yml

+3-27
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
env:
1212
CARGO_TERM_COLOR: always
13+
RUST_LOG: "debug"
1314
RUSTFLAGS: "-C debuginfo=0"
1415

1516
jobs:
@@ -37,36 +38,11 @@ jobs:
3738
test:
3839
name: Test
3940
runs-on: ubuntu-latest
40-
services:
41-
postgres:
42-
image: postgres
43-
ports:
44-
- 5432:5432
45-
env:
46-
POSTGRES_USER: postgres
47-
POSTGRES_PASSWORD: postgres
48-
POSTGRES_DB: test_db
49-
options: >-
50-
--health-cmd pg_isready
51-
--health-interval 10s
52-
--health-timeout 5s
53-
--health-retries 5
54-
redis:
55-
image: redis
56-
ports:
57-
- 6379:6379
58-
options: >-
59-
--health-cmd "redis-cli ping"
60-
--health-interval 10s
61-
--health-timeout 5s
62-
--health-retries 5
6341
steps:
6442
- uses: actions/checkout@v4
6543
- uses: DeterminateSystems/nix-installer-action@v4
6644
- uses: DeterminateSystems/magic-nix-cache-action@main
6745
- uses: Swatinem/rust-cache@v2
6846
- uses: rui314/setup-mold@v1
69-
- run: nix develop --impure --command bash -c "unset LD_LIBRARY_PATH && cargo test --all-features -- --show-output"
70-
env:
71-
DATABASE_URL: "postgres://postgres:postgres@localhost/test_db"
72-
REDIS_URL: "redis://localhost"
47+
- uses: taiki-e/install-action@nextest
48+
- run: nix develop --impure --command bash -c "unset DATABASE_URL LD_LIBRARY_PATH REDIS_URL && cargo nextest run --all-features"

0 commit comments

Comments
 (0)