mirror of
https://github.com/danog/parser.git
synced 2024-11-30 04:29:13 +01:00
chore: update test script (#140)
This commit is contained in:
parent
3df5a46eeb
commit
5d95a8985c
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -39,4 +39,4 @@ jobs:
|
||||
cargo clippy
|
||||
|
||||
- name: test
|
||||
run: cargo test --all -- --skip third_party
|
||||
run: ./meta/test --all -- --skip third_party
|
||||
|
2
.github/workflows/third-party-tests.yml
vendored
2
.github/workflows/third-party-tests.yml
vendored
@ -32,4 +32,4 @@ jobs:
|
||||
uses: Swatinem/rust-cache@v2.0.0
|
||||
|
||||
- name: test third-party
|
||||
run: cargo test third_party
|
||||
run: ./meta/test third_party
|
||||
|
3
build.rs
3
build.rs
@ -4,7 +4,8 @@ use std::path::PathBuf;
|
||||
|
||||
fn main() {
|
||||
println!("cargo:rerun-if-changed=tests");
|
||||
if cfg!(not(test)) {
|
||||
|
||||
if env::var("BUILD_INTEGRATION_TESTS").unwrap_or_else(|_| "0".to_string()) == "0" {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
set -xe
|
||||
|
||||
cargo nextest run
|
Loading…
Reference in New Issue
Block a user