# THROWAWAY PROBE for #232 - lives only on branch gate-probe-232, never merged. # Same job layout as the real release.yml (converters -> needs -> release); the release job is # a stub that only prints REACHED, so no release or tag can come out of this run. name: Release on: workflow_dispatch: jobs: converters: runs-on: linux-docker timeout-minutes: 30 container: image: debian:trixie-slim env: WIKITOOL_SESSION_ID: release-converters-${{ github.run_id }} WIKI_TRACE_DIR: /tmp/wikitool-trace steps: - name: System dependencies run: | set -eu apt-get update -qq apt-get install -y --no-install-recommends \ python3 python3-venv git nodejs ripgrep ca-certificates rm -rf /var/lib/apt/lists/* - uses: actions/checkout@v7 - name: A candidate needs no converter run id: version run: | set -eu case "$(tr -d '[:space:]' < VERSION)" in *-beta.*) echo "skip=true" >> "$GITHUB_OUTPUT" ;; *) echo "skip=false" >> "$GITHUB_OUTPUT" ;; esac - name: The private test corpus if: steps.version.outputs.skip != 'true' uses: actions/checkout@v7 with: repository: torben/chemenu-testfiles token: ${{ gitea.token }} path: testfiles - name: Tool environment if: steps.version.outputs.skip != 'true' run: | set -eu git config --global --add safe.directory "$GITHUB_WORKSPACE" tools/preflight.sh tools/.venv/bin/python -m pip install --quiet pytest - name: Real documents if: steps.version.outputs.skip != 'true' # Red on purpose: no test matches the keyword, so pytest exits 5. run: | set -eu cd tools .venv/bin/python -m pytest -c pytest.ini ../testfiles/harness -q -k does_not_exist_probe release: needs: converters runs-on: linux-docker container: image: debian:trixie-slim steps: - name: Stub run: echo "REACHED - the release job started"