2025-01-04 13:38:27 +00:00
|
|
|
name: Run BaseX Tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch: # Enables manual trigger
|
2025-01-04 13:52:28 +00:00
|
|
|
push:
|
2025-01-04 13:38:27 +00:00
|
|
|
branches:
|
|
|
|
- main
|
2025-01-04 13:52:28 +00:00
|
|
|
paths:
|
|
|
|
- '.gitea/workflows/trigger/release'
|
2025-01-04 13:38:27 +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'
|
|
|
|
distribution: 'temurin'
|
|
|
|
|
|
|
|
- name: Install BaseX
|
|
|
|
run: |
|
|
|
|
wget http://files.basex.org/releases/10.7/BaseX107.zip
|
|
|
|
unzip BaseX107.zip
|
|
|
|
|
|
|
|
- name: Run BaseX Tests
|
|
|
|
run: 'basex/bin/basex -t .'
|