Skip to content

Commit b54f67f

Browse files
author
Sven Obser
committed
Start CI for pull requests
1 parent 414bf02 commit b54f67f

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/ci-pulls.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on:
4+
pull_request
5+
6+
jobs:
7+
build:
8+
runs-on: windows-latest
9+
10+
steps:
11+
- name: Checkout GIT repository
12+
uses: actions/checkout@v2
13+
14+
- name: Set up JDK
15+
uses: actions/setup-java@v1
16+
with:
17+
java-version: 11
18+
19+
- name: Build with Gradle
20+
run: ./gradlew build
21+
22+
- name: Upload report to codecov.io
23+
uses: codecov/codecov-action@v1
24+
with:
25+
token: ${{ secrets.CODECOV_TOKEN }}
26+
file: library/build/reports/jacoco/test/jacocoTestReport.xml
27+
flags: unittests
28+
fail_ci_if_error: true

0 commit comments

Comments
 (0)