Skip to content

Commit

Permalink
fix: use python itself as the entrypoint for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohe-Am committed Oct 19, 2023
1 parent 38fc2b7 commit 470ff51
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,14 @@ fn test_grim_reaper() {
let fut = async move {
let config_raw =r#"
test:
command: python3 -c 'print("hello whiz")'
entrypoint: 'python3 -c'
command: 'print("hello whiz")'
long_test_dep:
command: python3 -c 'import time; time.sleep(1); print("wake up")'
entrypoint: 'python3 -c'
command: 'import time; time.sleep(1); print("wake up")'
long_test:
command: python3 -c 'print("my que to enter")'
entrypoint: 'python3 -c'
command: 'print("my que to enter")'
depends_on:
- long_test_dep"#;
let config: Config = config_raw.parse()?;
Expand Down

0 comments on commit 470ff51

Please sign in to comment.