parent
636317ba30
commit
95b95b848d
5 changed files with 10 additions and 38 deletions
|
@ -45,5 +45,5 @@ jobs:
|
||||||
ls -l /usr/local/basex/lib/custom
|
ls -l /usr/local/basex/lib/custom
|
||||||
- name: run tests
|
- name: run tests
|
||||||
run: |
|
run: |
|
||||||
basex -t src/test
|
basex -Wt src/test
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
30/1/2025.................
|
30/1/2025.................
|
||||||
..lgnfjfggfgxhcsxwnnd
|
..lgnfjfggfgxhcsxwnndc
|
30
.github/workflows/ci.yaml
vendored
30
.github/workflows/ci.yaml
vendored
|
@ -1,30 +0,0 @@
|
||||||
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 .'
|
|
|
@ -1,14 +1,16 @@
|
||||||
|
|
||||||
import module namespace build = 'urn:quodatum:build1' at 'build.xqm';
|
import module namespace build = 'urn:quodatum:build1' at 'build.xqm';
|
||||||
declare variable $base:= file:resolve-path("../",static-base-uri())=>trace("base ");
|
declare variable $base:= file:parent(db:system()/globaloptions/dbpath/string());
|
||||||
|
|
||||||
|
|
||||||
declare variable $custom:= "/usr/local/basex/lib/custom/";
|
|
||||||
|
|
||||||
"
|
"
|
||||||
copy..
|
copy..
|
||||||
",
|
",
|
||||||
file:copy(file:resolve-path("dist/pdfbox-3.0.4.fat.jar",$base)=>trace("Source: ")
|
file:copy(
|
||||||
,$custom=>trace("Dest: ")),
|
"dist/pdfbox-3.0.4.fat.jar"=>trace("Source: "),
|
||||||
file:list($custom),
|
file:resolve-path("lib/custom",$base)=>trace("Dest: ")
|
||||||
|
),
|
||||||
|
file:list(file:resolve-path("lib/custom",$base)),
|
||||||
"
|
"
|
||||||
"
|
"
|
||||||
|
|
|
@ -5,5 +5,5 @@ XQUERY "Repo install.."
|
||||||
REPO INSTALL dist/pdfbox-3.0.4.fat.jar
|
REPO INSTALL dist/pdfbox-3.0.4.fat.jar
|
||||||
REPO LIST
|
REPO LIST
|
||||||
XQUERY "add-to-custom.."
|
XQUERY "add-to-custom.."
|
||||||
#RUN add-to-custom.xq
|
RUN add-to-custom.xq
|
||||||
#TEST src/test
|
#TEST src/test
|
||||||
|
|
Loading…
Add table
Reference in a new issue