forked from xenon-middleware/xenonflow
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (44 loc) · 1.04 KB
/
build.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Build and Test Xenonflow
on:
schedule:
- cron: "0 0 1 * *"
push:
branches:
- master
pull_request:
branches:
- master
release:
types:
- created
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Set up java
uses: actions/setup-java@v1
with:
java-version: 11.0.2
java-package: jdk
architecture: x64
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: "3.8"
architecture: "x64"
- name: Install cwltool
run: pip install cwltool
- name: Checkout project
uses: actions/checkout@v2
- name: Check cwltool
run: cwltool --version
- name: Build with Gradle
run: ./gradlew build -x test
- name: Test
run: ./gradlew check
- name: Publish Unit Test Results
uses: EnricoMi/[email protected]
if: always()
with:
files: build/test-results/test/*.xml