Skip to content

Commit 81999e9

Browse files
committed
Initial commit
0 parents  commit 81999e9

File tree

10 files changed

+2464
-0
lines changed

10 files changed

+2464
-0
lines changed

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
on:
2+
push:
3+
pull_request:
4+
5+
env:
6+
CARGO_TERM_COLOR: always
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
12+
env:
13+
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres
14+
15+
services:
16+
postgres:
17+
image: postgres:latest
18+
env:
19+
POSTGRES_PASSWORD: postgres
20+
ports:
21+
- 5432:5432
22+
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
toolchain:
27+
- stable
28+
- beta
29+
# - nightly
30+
31+
steps:
32+
- uses: actions/checkout@v4
33+
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
34+
- run: rustup component add rustfmt
35+
- run: cargo fmt --all -- --check
36+
- run: cargo install cargo-expand
37+
- run: cargo test --workspace
38+
- run: cargo test --benches

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
target
2+
.DS_Store

0 commit comments

Comments
 (0)