Skip to content

Extend query command by option --pin-to-cache (#99) #94

Extend query command by option --pin-to-cache (#99)

Extend query command by option --pin-to-cache (#99) #94

name: Qleverfiles check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
merge_group:
jobs:
qleverfiles-check:
runs-on: ${{matrix.os}}
strategy:
fail-fast: true
matrix:
os: [ubuntu-24.04]
steps:
- name: Checkout the repository for the qlever script
uses: actions/checkout@v3
with:
path: qlever-control
- name: Install the script locally
working-directory: ${{github.workspace}}/qlever-control
run: |
# python3 -m pip install --upgrade pip setuptools wheel
# python3 --version
# pip3 --version
# pip3 show setuptools wheel
pip install -e .
- name: Check that all the files in `src/qlever/Qleverfiles` parse.
working-directory: ${{github.workspace}}/qlever-control
run: |
export QLEVER_ARGCOMPLETE_ENABLED=1
for QLEVERFILE in src/qlever/Qleverfiles/Qleverfile.*; do
echo
echo -e "\x1b[1;34mChecking ${QLEVERFILE}\x1b[0m"
echo
NAME=${QLEVERFILE##*.}
rm -f Qleverfile
qlever setup-config $NAME
qlever get-data --show
qlever index --show
qlever start --show
qlever ui --show
echo
echo -e "\x1b[34mAll checks passed for ${QLEVERFILE}\x1b[0m"
echo
done