[mod] github
This commit is contained in:
parent
036915590e
commit
3144cdaccc
3 changed files with 47 additions and 1 deletions
|
@ -1,2 +1,2 @@
|
|||
30/1/2025.................
|
||||
..lgnfjfggfgxhcsxwnndccxcx
|
||||
..lgnfjfggfgxhcsxwnndccxcxx
|
46
.github/workflows/ci-basex.yaml
vendored
Normal file
46
.github/workflows/ci-basex.yaml
vendored
Normal file
|
@ -0,0 +1,46 @@
|
|||
name: Run BaseX Tests
|
||||
|
||||
on:
|
||||
workflow_dispatch: # Enables manual trigger
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.gitea/workflows/trigger/release'
|
||||
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Set up Java
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '17'
|
||||
|
||||
- name: Install BaseX
|
||||
run: |
|
||||
wget https://files.basex.org/releases/10.7/BaseX107.zip
|
||||
unzip BaseX107.zip -d /usr/local/
|
||||
echo "BASEX_ROOT=/usr/local/basex" >> $GITHUB_ENV
|
||||
echo "PATH=$PATH:/usr/local/basex/bin" >> $GITHUB_ENV
|
||||
|
||||
- name: Verify PATH
|
||||
run: |
|
||||
echo path: $PATH$
|
||||
echo basex: $BASEX_ROOT
|
||||
echo ""
|
||||
basex -c "SHOW OPTIONS"
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build package
|
||||
run: |
|
||||
basex scripts/install.bxs
|
||||
|
||||
- name: run tests
|
||||
run: |
|
||||
basex -Wt src/test
|
||||
|
Loading…
Add table
Reference in a new issue