mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-14 06:22:24 +00:00
* craft-cms: run the CMS suite in CI; say when system-profile checks are skipped * craft-cms: satisfy clippy's chunks_exact_to_as_chunks lint in the total-ink test --------- Co-authored-by: aiongg <aiongtaigi@gmail.com>
27 lines
855 B
YAML
27 lines
855 B
YAML
name: Colour management
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [main]
|
|
paths: ['crates/cms/**', 'Cargo.toml', 'Cargo.lock', '.github/workflows/cms.yml']
|
|
pull_request:
|
|
paths: ['crates/cms/**', 'Cargo.toml', 'Cargo.lock', '.github/workflows/cms.yml']
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
cms:
|
|
timeout-minutes: 20
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
components: clippy
|
|
- run: cargo clippy -p craft-cms --all-targets --all-features --locked -- -D warnings
|
|
# Release: the FOGRA39 fit and ink-limit tests take about 35 s in debug and 4 s here. Tests that need
|
|
# installed system profiles print "skipped:" when none are present.
|
|
- run: cargo test -p craft-cms --all-features --release --locked -- --nocapture
|