test installation dots dans basex #25
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: Download and Install DoTS | |
run: | | |
cd webapp | |
git clone https://github.com/chartes/dots.git | |
- name: Start BaseX Server and Run Init Tests on DTS Endpoints | |
run: | | |
./basex/bin/basexhttp & | |
./basex/bin/basex ./tests/launcher.xq | |
./basex/bin/basexhttpstop | |