Skip to content

Commit 6493227

Browse files
committed
no need to archieve results - just display
1 parent 67a3693 commit 6493227

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.github/workflows/pmd.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
distribution: temurin
2121
java-version: '17'
2222

23-
- name: Run CPD for Fortran
23+
- name: Run CPD for Fortran & Python
2424
continue-on-error: true
2525
env:
2626
PMD_VERSION: 7.14.0
@@ -34,19 +34,10 @@ jobs:
3434
--dir /pr/src \
3535
--language fortran \
3636
--minimum-tokens=10 \
37-
--fail-on-violation false \
38-
> ../pmd-fort.txt
37+
--fail-on-violation false
3938

4039
"${PMD_HOME}/bin/pmd" cpd \
4140
--dir /pr/toolchain \
4241
--language fortran \
4342
--minimum-tokens=10 \
44-
--fail-on-violation false \
45-
> ../pmd-py.txt
46-
47-
- name: Display PMD Reports
48-
run: |
49-
echo "PMD Fortran Report:"
50-
cat pmd-fort.txt
51-
echo "PMD Python Report:"
52-
cat pmd-py.txt
43+
--fail-on-violation false

0 commit comments

Comments
 (0)