-
Notifications
You must be signed in to change notification settings - Fork 70
40 lines (37 loc) · 1.1 KB
/
configdocsgenerator_test.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
name: ConfigDocsGenerator Tests
on:
push:
branches:
- master
pull_request:
paths:
- '.github/workflows/configdocsgenerator_test.yml'
- 'components/inspectit-ocelot-configdocsgenerator/**'
workflow_call:
jobs:
test:
name: Test
runs-on: ubuntu-latest
env:
working-directory: ./components/inspectit-ocelot-configdocsgenerator
container: openjdk:8-jdk
steps:
- uses: actions/checkout@v2
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: test
run: ../../gradlew test
working-directory: ${{env.working-directory}}
dependency-scan:
name: Dependency Scan
runs-on: ubuntu-latest
env:
working-directory: ./components/inspectit-ocelot-configdocsgenerator
container: openjdk:8-jdk
steps:
- uses: actions/checkout@v2
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Scan dependencies
working-directory: ${{env.working-directory}}
run: ../../gradlew :inspectit-ocelot-configdocsgenerator:dependencyCheckAnalyze