caa60003e5
CI / behavior (push) Successful in 4s
sop-checklist-gate / gate (pull_request_target) Failing after 5s
CI / behavior (pull_request) Successful in 5s
CI / validate (pull_request) Successful in 13s
CI / validate (push) Successful in 12s
CI / all-required (pull_request) Successful in 2s
CI / all-required (push) Successful in 3s
Cover every documented protected branch, host shutdown, migration deletion, and case-insensitive destructive SQL path; remove unsupported settings and freeze claims; and gate the behavior suite in CI.
40 lines
1.4 KiB
YAML
40 lines
1.4 KiB
YAML
# CI — plugin validation via the canonical reusable workflow in molecule-ci.
|
|
#
|
|
# Consolidation (CI-reusables): the previous inline copy (git clone of
|
|
# molecule-ci + inline validate-plugin.py run + inline secret-scan block)
|
|
# is replaced by a native cross-repo reusable `uses:`. This removes the
|
|
# per-repo drift of the validate steps across the plugin fleet.
|
|
#
|
|
# Cross-repo `uses:` resolves on Gitea 1.26.4 because:
|
|
# - server app.ini [actions] DEFAULT_ACTIONS_URL = self
|
|
# - every act_runner sets GITHUB_SERVER_URL = http://molecule-gitea-local:3000
|
|
# (the old 1.22.6 github.com default-trap no longer applies).
|
|
#
|
|
# Pinned to a molecule-ci main commit SHA (reserved-path hygiene).
|
|
name: CI
|
|
on: [push, pull_request]
|
|
jobs:
|
|
validate:
|
|
uses: molecule-ai/molecule-ci/.gitea/workflows/validate-plugin.yml@d8066f147da91072867973b9e0d867996b8a01fd
|
|
|
|
behavior:
|
|
name: behavior
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- run: python3 -m pip install --disable-pip-version-check pytest==9.0.2
|
|
- run: python3 -m pytest -q tests
|
|
|
|
all-required:
|
|
name: all-required
|
|
runs-on: ubuntu-latest
|
|
needs: [validate, behavior]
|
|
if: always()
|
|
timeout-minutes: 1
|
|
steps:
|
|
- name: Verify required jobs passed
|
|
run: |
|
|
test "${{ needs.validate.result }}" = success
|
|
test "${{ needs.behavior.result }}" = success
|