-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (46 loc) · 1.36 KB
/
ci-pr.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
41
42
43
44
45
46
47
48
name: CI - PR
on:
- pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
java-version: 17
distribution: adopt
- name: Unit Tests
uses: eskatos/[email protected]
with:
arguments: test
- name: "Upload Test Logs Artifact"
uses: actions/upload-artifact@v4
if: failure()
with:
name: unit-test-logs
path: |
build/reports/tests/
ecs-logging-access/build/reports/tests/
ecs-logging-app/build/reports/tests/
ecs-logging-async/build/reports/tests/
ecs-logging-audit/build/reports/tests/
ecs-logging-base/build/reports/tests/
gzip-request-filter-starter/build/reports/tests/
- name: Codacy Publish
uses: codacy/codacy-coverage-reporter-action@master
if: github.actor != 'dependabot[bot]'
with:
project-token: ${{ secrets.CODACY_TOKEN }}
javadoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
java-version: 17
distribution: adopt
- name: Generate javadoc
uses: eskatos/[email protected]
with:
arguments: globalJavadoc