We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b10e27c commit 50c6d40Copy full SHA for 50c6d40
.github/workflows/ci.yml
@@ -18,6 +18,27 @@ jobs:
18
run: rustup update stable && rustup default stable && rustup component add rustfmt
19
- run: cargo fmt --all --check
20
21
+ test:
22
+ name: Test
23
+ runs-on: ubuntu-latest
24
+ env:
25
+ TEST_DB_URL: postgres://postgres:postgres@localhost:5432/postgres
26
+ services:
27
+ postgres:
28
+ image: postgres:14
29
30
+ POSTGRES_USER: postgres
31
+ POSTGRES_PASSWORD: postgres
32
+ POSTGRES_DB: postgres
33
+ ports:
34
+ - 5432:5432
35
+ steps:
36
+ - uses: actions/checkout@v4
37
+ - run: rustup toolchain install stable --profile minimal
38
+ - uses: Swatinem/rust-cache@v2
39
+ - name: Run tests
40
+ run: cargo test --workspace --all-targets
41
+
42
ci:
43
name: CI
44
runs-on: ubuntu-latest
0 commit comments