Skip to content

Commit baa0c4c

Browse files
Create android.yml
1 parent ed09857 commit baa0c4c

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.github/workflows/android.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Android CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: set up JDK 11
17+
uses: actions/setup-java@v3
18+
with:
19+
java-version: '11'
20+
distribution: 'temurin'
21+
cache: gradle
22+
23+
- name: Grant execute permission for gradlew
24+
run: chmod +x gradlew
25+
- name: Build with Gradle
26+
run: ./gradlew build
27+
28+
- name: Run Parasoft Jtest
29+
# You may pin to the exact commit or the version.
30+
# uses: parasoft/run-jtest-action@ae433ddf714970d4a40842e7a4788facd508d68d
31+
uses: parasoft/run-jtest-action@2.0.0
32+
with:
33+
# Installation folder of Parasoft Jtest. If not specified, the cpptestcli executable must be added to PATH.
34+
installDir: # optional
35+
# Working directory for running Jtest.
36+
workingDir: # optional, default is ${{ github.workspace }}
37+
# Test configuration to be used for code analysis.
38+
testConfig: # optional, default is builtin://Recommended Rules
39+
# Output folder for reports from code analysis.
40+
reportDir: # optional, default is reports
41+
# Format of reports from code analysis.
42+
reportFormat: # optional, default is xml,html,sarif
43+
# Input scope for analysis.
44+
input: # optional, default is jtest.data.json
45+
# Additional parameters for the jtestcli executable.
46+
additionalParams: # optional, default is
47+

0 commit comments

Comments
 (0)