Skip to content

chore(deps): bump github/codeql-action/init from 4.36.2 to 4.36.3 #131

chore(deps): bump github/codeql-action/init from 4.36.2 to 4.36.3

chore(deps): bump github/codeql-action/init from 4.36.2 to 4.36.3 #131

name: SPARQL QC meta-test
# Guardrail for berkeleybop/metpo#500: prove the QC SPARQL violation queries
# actually match METPO terms, so they cannot silently become no-ops.
#
# The queries in src/sparql/*-violation.sparql filter terms with
# STRSTARTS(str(?term), "https://w3id.org/metpo/")
# That filter was once "https://w3id.org/METPO_" (matches nothing), so every
# check reported "0 violations" for a long time and CI stayed green (#487,
# #465). This job runs each query against a positive-control fixture seeded
# with one known violation per query and fails if any matches 0 rows.
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
sparql-metatest:
runs-on: ubuntu-latest
container: obolibrary/odkfull:v1.6.1
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Assert each QC violation query matches its positive-control fixture
shell: bash
run: bash tests/sparql_qc/run_sparql_metatest.sh