Skip to content

Commit

Permalink
Remove ORM
Browse files Browse the repository at this point in the history
  • Loading branch information
c410-f3r committed Jul 25, 2024
1 parent 25654c6 commit 144c604
Show file tree
Hide file tree
Showing 103 changed files with 1,855 additions and 3,659 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- run: .scripts/integration-tests.sh


internal-tests:
internal-tests0:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -86,4 +86,21 @@ jobs:
profile: minimal
toolchain: nightly-2024-07-10
- uses: Swatinem/rust-cache@v2
- run: .scripts/internal-tests.sh
- run: .scripts/internal-tests0.sh

internal-tests1:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/[email protected]
with:
crate: mdbook
use-tool-cache: true
- uses: actions-rs/toolchain@v1
with:
components: clippy, rustfmt
override: true
profile: minimal
toolchain: nightly-2024-07-10
- uses: Swatinem/rust-cache@v2
- run: .scripts/internal-tests1.sh
1 change: 0 additions & 1 deletion .scripts/integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
. "$(dirname "$0")/common.sh" --source-only

export DATABASE_URI='postgres://wtx_scram:wtx@localhost:5432/wtx'
export RUST_LOG=info

cargo test --all-features --release -- --test-threads=1

Expand Down
3 changes: 3 additions & 0 deletions .scripts/internal-tests-all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

$(dirname "$0")/internal-tests0.sh && $(dirname "$0")/internal-tests1.sh
10 changes: 1 addition & 9 deletions .scripts/internal-tests.sh → .scripts/internal-tests0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ $rt test-with-features wtx http2
$rt test-with-features wtx httparse
$rt test-with-features wtx memchr
$rt test-with-features wtx miniserde
$rt test-with-features wtx orm
$rt test-with-features wtx parking_lot
$rt test-with-features wtx pool
$rt test-with-features wtx postgres
Expand Down Expand Up @@ -100,11 +99,4 @@ cargo check --example database-client-postgres-tokio-rustls --features "_tokio-r
cargo check --example http2-client-tokio-rustls --features "_tokio-rustls-client,http2"
cargo check --example http2-server-tokio-rustls --features "_tokio-rustls-client,http2,pool"
cargo check --example web-socket-client-raw-tokio-rustls --features "_tokio-rustls-client,web-socket-handshake"
cargo check --example web-socket-server-raw-tokio-rustls --features "pool,rustls-pemfile,tokio-rustls,web-socket-handshake"

# WTX Docs

rustup default nightly-2024-07-10
cargo clean --target-dir mdbook-target
cargo build --all-features --target-dir mdbook-target
mdbook test -L mdbook-target/debug/deps wtx-docs
cargo check --example web-socket-server-raw-tokio-rustls --features "pool,rustls-pemfile,tokio-rustls,web-socket-handshake"
10 changes: 10 additions & 0 deletions .scripts/internal-tests1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

. "$(dirname "$0")/common.sh" --source-only

# WTX Docs

rustup default nightly-2024-07-10
cargo clean --target-dir mdbook-target
cargo build --all-features --target-dir mdbook-target
mdbook test -L mdbook-target/debug/deps wtx-docs
Loading

0 comments on commit 144c604

Please sign in to comment.