forked from junit-team/junit5
-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (36 loc) · 941 Bytes
/
main.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
name: CI
on:
push:
branches:
- main
- 'releases/*'
pull_request:
branches:
- '*'
env:
ORG_GRADLE_PROJECT_enableTestDistribution: true
ORG_GRADLE_PROJECT_junitBuildCacheUsername: ${{ secrets.BUILD_CACHE_USERNAME }}
ORG_GRADLE_PROJECT_junitBuildCachePassword: ${{ secrets.BUILD_CACHE_PASSWORD }}
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
jobs:
Linux:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Install Graphviz
run: |
sudo apt-get update
sudo apt-get install graphviz
- name: Build
uses: ./.github/actions/main-build
with:
arguments: |
-PenableJaCoCo
build
jacocoRootReport
prepareDocsForUploadToGhPages
- name: Upload to Codecov.io
uses: codecov/codecov-action@v2