1
0
Fork 0
pdfbox/.gitea/workflows/ci-basex.yaml
Andy Bunce ae43b35c67
Some checks failed
Run BaseX Tests / test (10.7) (push) Failing after 33s
Run BaseX Tests / test (11.7) (push) Failing after 33s
[mod] move tests
2025-02-15 22:33:36 +00:00

51 lines
1.1 KiB
YAML

name: Run BaseX Tests
on:
workflow_dispatch: # Enables manual trigger
push:
branches:
- main
paths:
- ".gitea/workflows/trigger/release"
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
basex-version: ["10.7", "11.7"]
steps:
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: main
- name: Install BaseX
uses: ./.github/actions/install-basex
with:
basex-version: ${{ matrix.basex-version }} # Specify the BaseX version here
- name: Build package
run: |
basex scripts/make-xar.xq
basex scripts/repo-install.xq
- name: Run tests
run: |
basex -Wt tests >test-results.xml
cat test-results.xml
- name: Upload test result Artifacts
uses: actions/upload-artifact@v3
with:
name: test-results
path: test-results.xml