seb-server/.github/workflows/buildReporting.yml

32 lines
828 B
YAML
Raw Normal View History

2021-04-12 15:15:40 +02:00
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
2021-04-12 17:23:24 +02:00
name: build
2021-04-12 15:15:40 +02:00
on:
push:
2021-04-12 17:55:43 +02:00
branches: [master, development]
2021-04-12 15:15:40 +02:00
pull_request:
2021-04-12 17:55:43 +02:00
branches: [master, development]
2021-04-12 15:15:40 +02:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2021-04-12 17:35:17 +02:00
- name: Set up JDK 8
2021-04-12 15:15:40 +02:00
uses: actions/setup-java@v2
with:
2021-04-12 17:35:17 +02:00
java-version: '8'
2021-04-12 15:15:40 +02:00
distribution: 'adopt'
- name: Build with Maven
2021-04-12 17:11:54 +02:00
run: mvn clean install -e -P let_reporting
2021-04-12 17:23:24 +02:00
- uses: codecov/codecov-action@v1
with:
flags: unittests # optional
2021-04-12 17:50:15 +02:00
name: SEB Server Build # optional
fail_ci_if_error: false # optional (default = false)
verbose: false # optional (default = false)