mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
Adding ci
This commit is contained in:
parent
5c35771a20
commit
7488e9d774
1 changed files with 19 additions and 0 deletions
19
.github/workflows/ci.yml
vendored
Normal file
19
.github/workflows/ci.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
name: CI
|
||||
on:
|
||||
push
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
- name: Build and Test with Maven
|
||||
run: mvn -B test --file pom.xml
|
||||
- uses: codecov/codecov-action@v1
|
||||
with:
|
||||
flags: unittests # optional
|
||||
name: codecov-umbrella # optional
|
||||
fail_ci_if_error: true # optional (default = false)
|
Loading…
Reference in a new issue