complete workflow to check sparql queries #68
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Query Identifiers | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: | |
- main | |
types: [opened, reopened, synchronize] | |
jobs: | |
format_check: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
python-version: | |
- "3.9" | |
runs-on: ${{ matrix.os }} | |
name: Run Check Query Identifiers | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Run check_query_identifiers.py | |
working-directory: ./src/scribe_data/check | |
run: python check_query_identifiers.py | |
- name: Post-run status | |
if: failure() | |
run: echo "Project SPARQL queries check failed. Please fix the reported errors." |