Skip to content

Update dots-CI.yml

Update dots-CI.yml #40

Workflow file for this run

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: CI Init (Download & install BaseX, DoTS folder migration)
run: |
# TODO: move everything in a init.sh script in the future
cd .. && ls -l
wget https://files.basex.org/releases/10.7/BaseX107.zip
unzip BaseX107.zip && rm -r BaseX107.zip && ls -l
cd ./basex && ls -l
chmod +x ./bin/basex
chmod +x ./bin/basexhttp
cp -r ../dots/ ./webapp/ && cd ./webapp/ && ls -l
- name: Launch Tests
run : |
cd ../basex/
./bin/basexhttp &
BX=./bin/basex
BX ./webapp/dots/tests/launcher.xq