add GH actions workflow test - fail expect #2
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: DoTS XQuery CI | |
on: [push, pull_request] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
name: Checkout code | |
- name: Setup Java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: '11' # BaseX requiert Java | |
- name: Download and Install BaseX | |
run: | | |
wget https://files.basex.org/releases/10.7/BaseX107.zip | |
unzip BaseX107.zip | |
cd basex | |
chmod +x bin/basex | |
- name: Run DoTS XQuery Tests | |
run: | | |
./basex/bin/basex ./tests/launcher.xq |