-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It doesn't matter too much when I'm the only one contributing code, but that's quickly changing!
- Loading branch information
1 parent
c9e1478
commit 17bded5
Showing
18 changed files
with
230 additions
and
124 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 |
---|---|---|
|
@@ -53,6 +53,42 @@ jobs: | |
name: tutorial_generator | ||
path: doc_examples/tutorial_generator/target/debug/tutorial_generator | ||
|
||
tests: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- build_pavex_cli | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Install Rust stable toolchain | ||
uses: actions-rust-lang/[email protected] | ||
with: | ||
rustflags: "" | ||
- name: Install Rust nightly toolchain | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
toolchain: nightly | ||
components: rust-docs-json | ||
rustflags: "" | ||
- name: Cache dependencies | ||
uses: Swatinem/rust-cache@v2 | ||
with: | ||
workspaces: "./libs -> ./target" | ||
key: "tests" | ||
- name: Download pavex CLI artifact | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: pavex_cli | ||
path: ~/.cargo/bin | ||
- name: Mark as executable | ||
run: chmod +x ~/.cargo/bin/pavex | ||
- name: Run tests | ||
run: | | ||
cd libs | ||
cargo test --no-run | ||
cargo test --workspace --exclude="pavex_cli" | ||
PAVEX_TEST_CLI_PATH="pavex" cargo test --package pavex_cli | ||
is_up_to_date: | ||
runs-on: ubuntu-latest | ||
needs: | ||
|
21 changes: 11 additions & 10 deletions
21
doc_examples/guide/dependency_injection/cookbook/project/Cargo.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
21 changes: 11 additions & 10 deletions
21
doc_examples/guide/request_data/buffered_body/project/Cargo.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.