This commit is contained in:
parent
ae0dad178b
commit
318a6131a3
2 changed files with 4 additions and 1 deletions
32
.gitea/workflows/ci-basex.yaml
Normal file
32
.gitea/workflows/ci-basex.yaml
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
name: Run BaseX Tests
|
||||
|
||||
on:
|
||||
workflow_dispatch: # Enables manual trigger
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.gitea/workflows/trigger/release'
|
||||
|
||||
|
||||
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
.gitea/workflows/trigger/release
Normal file
1
.gitea/workflows/trigger/release
Normal file
|
|
@ -0,0 +1 @@
|
|||
!release
|
||||
Loading…
Add table
Add a link
Reference in a new issue