This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -33,11 +33,11 @@ jobs:
|
||||
- name: Build
|
||||
run: cargo build
|
||||
env:
|
||||
RUST_FLAGS: -Dwarnings
|
||||
RUSTFLAGS: -Dwarnings
|
||||
- name: Lint
|
||||
run: cargo clippy --all-targets --all-features
|
||||
env:
|
||||
RUST_FLAGS: -Dwarnings
|
||||
RUSTFLAGS: -Dwarnings
|
||||
- name: Install runtime system dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
|
||||
@@ -428,7 +428,7 @@ mod tests {
|
||||
|
||||
// For determinism, we require for tests that either a distro or series is specified,
|
||||
// as no distribution would mean fallback to system distro
|
||||
assert!(dist != None || series != None);
|
||||
assert!(dist.is_some() || series.is_some());
|
||||
|
||||
// Use a temp directory as working directory
|
||||
let temp_dir = tempfile::tempdir().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user