diff --git a/.github/workflows/dots-CI.yml b/.github/workflows/dots-CI.yml index 8d04377..ae8b0aa 100644 --- a/.github/workflows/dots-CI.yml +++ b/.github/workflows/dots-CI.yml @@ -4,18 +4,14 @@ on: [push, pull_request] jobs: CI-init-basex-dots: - 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 @@ -30,14 +26,14 @@ jobs: Start-basex-backend: runs-on: ubuntu-latest + needs: CI-init-basex-dots steps: - - - name: Start BaseX backend - run : | - cd ../basex/ && - ./bin/basexhttp & - sleep 2 && - curl http://localhost:8080 -I + - name: Start BaseX backend + run : | + cd ../basex/ && + ./bin/basexhttp & + sleep 2 && + curl http://localhost:8080 -I