2025-01-03 16:03:13 +00:00
|
|
|
name: Run BaseX Tests
|
|
|
|
|
|
|
|
on:
|
2025-01-03 17:51:30 +00:00
|
|
|
workflow_dispatch: # Enables manual trigger
|
2025-01-03 16:03:13 +00:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- main
|
2025-01-03 17:51:30 +00:00
|
|
|
|
2025-01-03 16:03:13 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Set up Java
|
|
|
|
uses: actions/setup-java@v2
|
|
|
|
with:
|
|
|
|
java-version: '11'
|
2025-01-03 16:39:23 +00:00
|
|
|
distribution: 'temurin'
|
2025-01-03 16:03:13 +00:00
|
|
|
|
|
|
|
- name: Install BaseX
|
|
|
|
run: |
|
|
|
|
wget http://files.basex.org/releases/10.7/BaseX107.zip
|
|
|
|
unzip BaseX107.zip -d basex
|
|
|
|
|
|
|
|
- name: Run BaseX Tests
|
2025-01-03 16:39:23 +00:00
|
|
|
run: './basex/bin/basex -t .'
|