1
0

[add] ci-basex

This commit is contained in:
Andy Bunce 2025-01-04 13:38:27 +00:00
parent e2fdc1c13c
commit ae0dad178b
5 changed files with 31 additions and 1 deletions

30
.github/workflows/ci-basex.yaml vendored Normal file
View File

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -7,7 +7,7 @@
"doc": "docs"
},
"scripts": {
"test": "%BASEX10%/bin/basex -t ."
"test": "%BASEX10%/bin/basex -t src/test"
},
"keywords": [
"pdf",