Skip to content

CICD-039 · Include an independent experimental tuple ​

Encyclopedia · Matrices and sharding · All snippets

Previous · CICD-038 · Next · CICD-040

1. Where it fits ​

  • Placement .github/workflows/ci.yml, inside the relevant job.
  • Prerequisites workspace whose runtime dependencies match the chosen target combinations.
  • Platforms github-actions, gitea-actions.

2. Copy the snippet ​

yaml
strategy:
  matrix:
    include:
      - {python: "3.12", experimental: false}
      - {python: "3.13", experimental: true}
continue-on-error: ${{ matrix.experimental }}

3. How it works ​

include lists explicit rows including an experimental flag. The expression controls whether each row's failure affects the result.

4. Verify the result ​

The experimental row provides evidence without weakening the supported row.

Validation syntax-validated (YAML parse). Status definitions.