fix: 在 ci-rust-check 环节取消 cli-build features 检测
This commit is contained in:
@@ -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
|
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
|
version: 1.0
|
||||||
- name: Run unit & integration tests with nextest
|
- 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
|
# - name: Run documentation tests with cargo test
|
||||||
# run: cargo hack --feature-powerset test --doc
|
# 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
|
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
|
version: 1.0
|
||||||
- name: Run all-features code quality checks
|
- 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
|
- name: Run normal code quality check
|
||||||
run: cargo clippy
|
run: cargo clippy
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user