Files
OpenHands/.github/workflows/ci-script-tests.yml
T
dependabot[bot] ec343d8b63 ci(deps): bump actions/setup-python from 6 to 7 in the actions group (#16645)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-23 11:38:55 -04:00

38 lines
949 B
YAML

---
name: CI Script Tests
# Runs the pytest suite for .github/scripts/ — the Python checkers that power
# the issue-readiness and PR-description gates. This catches regressions in the
# checking logic whenever those scripts are modified.
on:
pull_request:
paths:
- ".github/scripts/**"
- ".github/workflows/ci-script-tests.yml"
push:
branches: [main]
paths:
- ".github/scripts/**"
- ".github/workflows/ci-script-tests.yml"
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: "3.13"
- name: Install pytest
run: pip install pytest
- name: Run script tests
run: python -m pytest .github/scripts/tests/ -v