[add] github workflow

This commit is contained in:
Andy Bunce 2025-01-03 16:03:13 +00:00
parent dd7b0c1d83
commit e987fcf8ba
10 changed files with 42 additions and 6 deletions

30
.github/workflows/ci.yaml vendored Normal file
View file

@ -0,0 +1,30 @@
name: Run BaseX Tests
on:
pull_request:
branches:
- main
workflow_dispatch: # Enables manual trigger
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 -d basex
- name: Run BaseX Tests
run: |
./basex/bin/basex -t .