-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #239 from Northeastern-Electric-Racing/231-optimiz…
…e-scylla-docker-size Switch to diesel
- Loading branch information
Showing
70 changed files
with
1,080 additions
and
4,322 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,12 +23,27 @@ jobs: | |
|
||
steps: | ||
- name: Setup Rust | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Generate prisma | ||
run: cargo prisma generate | ||
- name: Clippy | ||
run: cargo clippy --all-targets | ||
- name: Fmt | ||
run: cargo fmt --check | ||
- name: Start DB | ||
working-directory: compose | ||
run: docker compose up -d odyssey-timescale | ||
- name: Build | ||
run: cargo build --verbose | ||
- name: Clippy | ||
run: cargo clippy --verbose -- -D warnings | ||
- name: Run # so we can migrate the database, run for a little than bail | ||
env: | ||
DATABASE_URL: postgresql://postgres:[email protected]:5432/postgres | ||
run: | | ||
cargo run & ID=$!; sleep 10s; kill $ID | ||
- name: Test | ||
env: | ||
DATABASE_URL: postgresql://postgres:[email protected]:5432/postgres | ||
run: cargo test -- --test-threads=1 | ||
- name: Cleanup | ||
working-directory: compose | ||
run: docker compose down |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.