forked from Merck/Halyard
-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (32 loc) · 853 Bytes
/
ci.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
name: Halyard-star CI
on:
push:
branches: [ latest ]
tags: [ 'v*' ]
pull_request:
branches: [ latest ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Java 11
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 11
- name: Build
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V --no-transfer-progress
- name: Tests
env:
MAVEN_OPTS: -Xmx256m -XshowSettings:vm
run: mvn test -B
- name: Upload code coverage
uses: codecov/codecov-action@v2
- name: Release zips
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
sdk/target/halyard-sdk-*.zip
webapps/target/halyard-webapps-*.zip