Skip to content

Commit

Permalink
moved to forked diesel_async_migrations; updated testing configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
yasamoka committed Apr 15, 2024
1 parent 664e625 commit 1dcaeb6
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
2 changes: 0 additions & 2 deletions .cargo/config.toml

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ jobs:
echo "MYSQL_PASSWORD=root" > .env
echo "MYSQL_HOST=127.0.0.1" >> .env
echo "POSTGRES_PASSWORD=postgres" >> .env
cargo test --all-features
cargo test --all-features --lib -- --test-threads 1
cargo test --all-features --doc -- --test-threads 1
cargo test --all-features --examples
- name: Install latest mdBook
run: |
tag=$(curl 'https://api.github.com/repos/rust-lang/mdbook/releases/latest' | jq -r '.tag_name')
Expand Down
10 changes: 4 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ poem = "2.0.1"
serde = "1.0.197"
serde_json = "1.0.114"
tokio-postgres = "0.7.10"
diesel_async_migrations = "0.12.0"
diesel_async_migrations = { git = "https://github.com/yasamoka/diesel_async_migrations" }


[features]
Expand Down
3 changes: 3 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
cargo test --all-features --lib -- --test-threads 1 && \
cargo test --all-features --doc -- --test-threads 1 && \
cargo test --all-features --examples

0 comments on commit 1dcaeb6

Please sign in to comment.