fix: 在 ci-rust-check 环节取消 cli-build features 检测

This commit is contained in:
jeasonnow
2023-08-03 16:04:13 +08:00
parent 7e6d302fd0
commit 1de5960d47

View File

@@ -43,7 +43,7 @@ jobs:
packages: libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev gnome-video-effects gnome-video-effects-extra
version: 1.0
- name: Run unit & integration tests with nextest
run: cargo hack --feature-powerset nextest run
run: cargo hack --feature-powerset --exclude-features cli-build nextest run
# - name: Run documentation tests with cargo test
# run: cargo hack --feature-powerset test --doc
@@ -70,7 +70,7 @@ jobs:
packages: libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev gnome-video-effects gnome-video-effects-extra
version: 1.0
- name: Run all-features code quality checks
run: cargo hack --feature-powerset --no-dev-deps clippy
run: cargo hack --feature-powerset --exclude-features cli-build --no-dev-deps clippy
- name: Run normal code quality check
run: cargo clippy