All checks were successful
lockfiles / every Cargo.lock is current (pull_request) Successful in 38s
no-vanity-metrics / Scan committed Markdown for vanity metrics (pull_request) Successful in 4s
no-vanity-metrics / WAI public text names no comparison (pull_request) Successful in 4s
no-vanity-metrics / WAI public text names no company or product (pull_request) Successful in 4s
no-vanity-metrics / No new orphan source files (pull_request) Successful in 6s
standards workspaces build + test / jouleclaw-rs (pull_request) Successful in 2m53s
standards workspaces build + test / joule-code-rs (pull_request) Successful in 1m26s
standards workspaces build + test / aac-rs (pull_request) Successful in 2m45s
standards workspaces build + test / joulecontract-rs (pull_request) Successful in 56s
standards workspaces build + test / map-rs (pull_request) Successful in 58s
standards workspaces build + test / mesh-rs (pull_request) Successful in 56s
tests in CI / every test file is run by a job or listed with its reason (pull_request) Successful in 5s
WAI section references / cited sections exist (pull_request) Successful in 25s
workflow hygiene / every workflow supersedes its own queue (pull_request) Successful in 4s
standards workspaces build + test / jouledesk-rs (pull_request) Successful in 48s
standards workspaces build + test / openpay (pull_request) Successful in 3m2s
standards workspaces build + test / macOS energy backends (pull_request) Successful in 4m40s
spec citations resolve / Code cites no section its SPEC lacks (pull_request) Successful in 4s
standards workspaces build + test / arl-rs (pull_request) Successful in 1m9s
standards workspaces build + test / eoc-rs (pull_request) Successful in 2m7s
standards workspaces build + test / jcp-rs (pull_request) Successful in 1m44s
standards workspaces build + test / joule-ui-rs (pull_request) Successful in 1m10s
standards workspaces build + test / joulehook-rs (pull_request) Successful in 1m11s
standards workspaces build + test / proof-rs (pull_request) Successful in 1m37s
standards workspaces build + test / sandbox-rs (pull_request) Successful in 2m29s
standards workspaces build + test / sense-rs (pull_request) Successful in 1m9s
standards workspaces build + test / smart-byte-rs (pull_request) Successful in 3m47s
lockfiles, tests-in-ci, workflow-hygiene, no-vanity-metrics and wai-section-refs read files and run scripts, so the CPU architecture does not matter to them. They ran on the one x86_64 runner, which has every Rust workspace's tests queued on it (90 jobs waiting when this was measured); they move to linux-arm64. Co-Authored-By: Claude Opus 5.5 <[email protected]>
44 lines
1.8 KiB
YAML
44 lines
1.8 KiB
YAML
name: tests in CI
|
|
|
|
# Every integration test of the reference crate is run by a job, and none can run
|
|
# empty.
|
|
#
|
|
# The conformance workflows name the tests they run, one `--test NAME` at a time. A test
|
|
# file nobody adds to a step never runs, and a feature-gated one compiled in a step that
|
|
# lacks its feature reports `ok` with no test in it. Both have happened here, silently.
|
|
# scripts/check-tests-in-ci.py requires that every test file is named by a step or
|
|
# listed, with its reason, in the crate's tests/NOT-IN-CI.txt, and that every
|
|
# feature-gated one declares its features in Cargo.toml, so that cargo refuses to build
|
|
# it without them.
|
|
#
|
|
# No `paths:` filter, on purpose. On this forge a filter matches the files of the push,
|
|
# not of the pull request, so a later push that touches no test would leave the head with
|
|
# no run of this check. The job takes seconds: it reads files and builds nothing.
|
|
|
|
# One run per branch at a time. A push supersedes the run before it.
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
# Runs on `linux-arm64`, not `linux`: these jobs read files and run scripts, so the CPU
|
|
# architecture does not matter to them, and the one `linux` (x86_64) runner is the
|
|
# fleet's bottleneck, with every Rust workspace's tests queued on it.
|
|
jobs:
|
|
covered:
|
|
name: every test file is run by a job or listed with its reason
|
|
runs-on: linux-arm64
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
# The check must be able to fail, or it is decoration.
|
|
- name: The check fails closed (self-test)
|
|
run: ./scripts/check-tests-in-ci-selftest.sh
|
|
|
|
- name: Every test file is run or listed, and none can run empty
|
|
run: python3 -I scripts/check-tests-in-ci.py
|