Python-based version of the QLever script #9
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: End-to-end test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
merge_group: | |
jobs: | |
end-to-end-test: | |
strategy: | |
fail-fast: true | |
# matrix: | |
# os: [ubuntu-22.04, macos-12] | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install required tools and Python packages | |
run: | | |
sudo apt update | |
sudo apt install wget unzip flake8 | |
pip3 install psutil | |
- name: Format and compile check | |
run: | | |
flake8 qlever.py | |
python3 -m py_compile qlever.py | |
- name: Test script actions for olympics dataset | |
working-directory: ${{github.workspace}} | |
run: | | |
mkdir olympics | |
cp -a Qleverfile.ini olympics | |
cd olympics | |
../qlever.py get-data docker.USE_DOCKER=true index start status stop status |