Skip to content

Commit

Permalink
Merge pull request #730 from kazk/maybe-fix-dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
kazk authored Nov 23, 2021
2 parents 6b23251 + 5f08c48 commit 7e2c102
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:
- name: Run workspace doc tests
run: cargo test --doc --all -j6
- name: Test examples
run: cargo test -p examples --examples -j6
run: cargo test -p kube-examples --examples -j6
- name: Compile check remaining examples
# No OS specific code in examples, run this on fastest executor
if: matrix.os == 'ubuntu-latest'
run: cargo build -j4 -p examples
run: cargo build -j4 -p kube-examples

# Feature tests
- name: Test kube with features native-tls,ws,oauth
Expand All @@ -52,10 +52,10 @@ jobs:
if: matrix.os == 'ubuntu-latest'
# Feature tests in examples
- name: Test crd_derive_no_schema example
run: cargo test -p examples --example crd_derive_no_schema --no-default-features --features=native-tls,latest
run: cargo test -p kube-examples --example crd_derive_no_schema --no-default-features --features=native-tls,latest
if: matrix.os == 'ubuntu-latest'
- name: Test crd_api example with deprecated crd
run: cargo test -p examples --example crd_api --no-default-features --features=deprecated,kubederive,native-tls
run: cargo test -p kube-examples --example crd_api --no-default-features --features=deprecated,kubederive,native-tls
if: matrix.os == 'ubuntu-latest'

check-msrv:
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ doc:
test:
cargo test --lib --all
cargo test --doc --all
cargo test -p examples --examples
cargo test -p kube-examples --examples
cargo test -p kube --lib --no-default-features --features=rustls-tls,ws,oauth
cargo test -p kube --lib --no-default-features --features=native-tls,ws,oauth
cargo test -p kube --lib --no-default-features
cargo test -p examples --example crd_api --no-default-features --features=deprecated,kubederive,native-tls
cargo test -p kube-examples --example crd_api --no-default-features --features=deprecated,kubederive,native-tls

test-kubernetes:
cargo test --lib --all -- --ignored # also run tests that fail on github actions
cargo test -p kube --features=derive -- --ignored
cargo run -p examples --example crd_derive
cargo run -p examples --example crd_api
cargo run -p kube-examples --example crd_derive
cargo run -p kube-examples --example crd_api

readme:
rustdoc README.md --test --edition=2021
Expand Down
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "examples"
name = "kube-examples"
version = "0.1.0"
authors = [
"clux <[email protected]>",
Expand Down

0 comments on commit 7e2c102

Please sign in to comment.