Skip to content

full set of subclasses for double-ended connectivity queries #29

full set of subclasses for double-ended connectivity queries

full set of subclasses for double-ended connectivity queries #29

Workflow file for this run

name: Test Lint
# Fast, static check that a PR doesn't introduce the silently-passing test
# anti-patterns documented in TESTING.md (empty-suppressing guards, stale keys,
# error-swallowing except blocks). Only the lines the PR ADDS are checked, and a
# `# test-lint: allow` comment opts a line out for a genuine exception.
on:
pull_request:
branches: [ main, dev ]
workflow_dispatch:
# Purely static — no backend involved — but there is no value in finishing a
# lint of a commit that has already been superseded.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-lint:
name: "Test conventions"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # need history to diff against the base branch
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Lint added test lines
run: |
git fetch --no-tags --quiet origin "${{ github.base_ref }}"
python scripts/lint_tests.py "origin/${{ github.base_ref }}"