mirror of
https://github.com/nukesor/pueue
synced 2024-10-15 04:03:11 +00:00
change: check clippy for tests in CI
This commit is contained in:
parent
36ecb5efb6
commit
49f6228dcd
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -100,4 +100,4 @@ jobs:
|
|||
if: ${{ matrix.os == 'ubuntu-latest' && matrix.target == 'x86_64-unknown-linux-gnu' }}
|
||||
with:
|
||||
command: clippy
|
||||
args: -- -D warnings
|
||||
args: --tests -- -D warnings
|
||||
|
|
|
@ -19,7 +19,7 @@ async fn test_normal_remove() -> Result<()> {
|
|||
// 3 -> paused
|
||||
// 4 -> queued
|
||||
// 5 -> stashed
|
||||
for command in vec!["failing", "ls", "sleep 60", "sleep 60", "ls", "ls"] {
|
||||
for command in &["failing", "ls", "sleep 60", "sleep 60", "ls", "ls"] {
|
||||
assert_success(add_task(shared, command, false).await?);
|
||||
}
|
||||
// Wait for task2 to start. This implies task[0,1] being finished.
|
||||
|
|
Loading…
Reference in a new issue