-
Notifications
You must be signed in to change notification settings - Fork 7
30 lines (29 loc) · 839 Bytes
/
maven.yml
File metadata and controls
30 lines (29 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Java CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.9'
cache: 'pip'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt -r dev-requirements.txt
- name: Run Python tests to generate workflow examples.
run: |
pytest tests/test_lint.py tests/test_cytoscape.py
- name: Set up JDK
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '25'
cache: 'maven'
- name: Run Java maven (mvn) tests for generated workflow examples.
run: |
cd java
mvn -B test --file pom.xml