Skip to content

Commit e3626f6

Browse files
committed
set env var pmd=/pmd/bin/pmd
1 parent 085eaa5 commit e3626f6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/pmd.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ jobs:
2525
- name: Build PMD
2626
run: |
2727
(cd pmd && mvn clean install -DskipTests> ../pmd.txt)
28+
alias pmd=/pmd/bin/pmd
2829
2930
- name: Running PMD
3031
run: |
31-
(cd pmd && ./pmd cpd -l fortran pr/src/* > ../pmd-fort.txt)
32-
(cd pmd && ./pmd cpd -l python pr/toolchain/* > ../pmd-py.txt)
32+
(cd pmd && $pmd cpd -l fortran pr/src/* > ../pmd-fort.txt)
33+
(cd pmd && $pmd cpd -l python pr/toolchain/* > ../pmd-py.txt)
3334
3435
- name: Display PMD Reports
3536
run: |

0 commit comments

Comments
 (0)