Skip to content

Add advisory SDRF change report for dataset PRs #11

Add advisory SDRF change report for dataset PRs

Add advisory SDRF change report for dataset PRs #11

Workflow file for this run

# The review gate decides every dataset PR, but until now a change to it ran nothing:
# sdrf-review.yml and validate-sdrf.yml are both path-filtered to datasets/**, so a PR
# touching only .github/scripts/ triggered no checks at all.
name: Review gate tests
on:
pull_request:
paths:
- '.github/scripts/**'
- '.github/workflows/gate-tests.yml'
- 'tests/**'
push:
branches: [main]
paths:
- '.github/scripts/**'
- 'tests/**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
# The gate itself imports nothing outside the standard library; pytest is the only
# dependency the tests need. sdrf-pipelines is deliberately not installed -- these
# tests cover the gate's own logic, and parse_sdrf is exercised by validate-sdrf.yml.
- name: Install pytest
run: python -m pip install --upgrade pip pytest
- name: Run review gate tests
run: python -m pytest tests/ -v --tb=short