Skip to content

Commit 208c583

Browse files
committed
Add BEAST.base dependency to version.xml and CI workflow
Add <depends on='BEAST.base' atleast='2.8.0'/> to version.xml for consistency with other BEAST3 packages. Add GitHub Actions workflow for running tests on push/PR.
1 parent bfda24e commit 208c583

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Unit/integration tests
2+
on: [ push, pull_request, workflow_dispatch ]
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
- uses: actions/setup-java@v4
10+
with:
11+
distribution: temurin
12+
java-version: 25
13+
server-id: github
14+
server-username: GITHUB_ACTOR
15+
server-password: GITHUB_TOKEN
16+
- run: mvn test
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

version.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<package name='MM' version='1.3.0'>
2+
<depends on='BEAST.base' atleast='2.8.0'/>
23

34
<service type="beast.base.core.BEASTInterface">
45
<provider classname="morphmodels.app.beauti.BeautiMorphModelAlignmentProvider"/>

0 commit comments

Comments
 (0)