PhotoCraft: An open-source, photo editor written by scratch in pure Rust
CI: run only the font tests in the craft-fonts pass (#6120)
David Manncaa28cb7ab5f
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 31323da70..e534abee3 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -139,6 +139,8 @@ jobs:# --features heif` of the Test step: any other package or feature selection resolves a# different feature set, recompiles the whole dependency graph into the same target dir and# runs the runner out of disk (as `-p photocraft-text -p photocraft-ui-egui` did after #800).+ # Only the tests of the crates that read `CRAFT_FONTS` run (the `-E` filter changes what runs,+ # not what is built); engine and the apps only pass text on to them (#6120).- name: Check out craft-fontsif: runner.os == 'Linux'uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4@@ -152,7 +154,9 @@ jobs:env:CRAFT_FONTS_DIR: ${{ github.workspace }}/craft-fontsCRAFT_FONTS_REQUIRED: "1"- run: cargo nextest run --workspace --locked --features heif --profile ci+ run: >-+ cargo nextest run --workspace --locked --features heif --profile ci+ -E 'package(photocraft-text) | package(photocraft-io) | package(photocraft-ui-egui)'- name: Clippyrun: cargo clippy --workspace --all-targets --locked --features heif -- -D warnings