Skip to content

Commit fa0e71b

Browse files
author
Vitaliy Boyko
committed
Added env var to spot bugs
1 parent 22238e7 commit fa0e71b

File tree

3 files changed

+21
-8
lines changed

3 files changed

+21
-8
lines changed

.github/workflows/gradle.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,22 @@ jobs:
2222
run: gradle wrapper
2323
- name: Grant execute permission for gradlew
2424
run: chmod +x gradlew
25-
# - name: Run automated tests
26-
# run: ./gradlew test -i
25+
- name: Run automated tests
26+
run: ./gradlew test -i --no-daemon
2727
- id: file_changes
2828
uses: trilom/[email protected]
2929
- name: Run Code Style Check
30-
run: ./gradlew checkstyleCI -i
30+
run: ./gradlew checkstyleCI -i --no-daemon
3131
env:
3232
MODIFIED_FILES: ${{ steps.file_changes.outputs.files}}
3333
- name: Run PMD Quality Check
34-
run: ./gradlew pmdCI -i
34+
run: ./gradlew pmdCI -i --no-daemon
3535
env:
3636
MODIFIED_FILES: ${{ steps.file_changes.outputs.files}}
3737
- name: Run Spotbugs Quality Check
38-
run: ./gradlew spotbugsCI -i
38+
run: ./gradlew spotbugsCI -i --no-daemon
39+
env:
40+
MODIFIED_FILES: ${{ steps.file_changes.outputs.files}}
3941

4042
build-windows:
4143

@@ -52,7 +54,7 @@ jobs:
5254
- name: Grant execute permission for gradlew
5355
run: chmod +x gradlew
5456
- name: Run automated tests
55-
run: ./gradlew test -i
57+
run: ./gradlew test -i --no-daemon
5658

5759
build-macos:
5860

@@ -69,4 +71,4 @@ jobs:
6971
- name: Grant execute permission for gradlew
7072
run: chmod +x gradlew
7173
- name: Run automated tests
72-
run: ./gradlew test -i
74+
run: ./gradlew test -i --no-daemon

gradle-tasks/checkstyle/checkstyle.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
<?xml version="1.0"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
28
<!DOCTYPE module PUBLIC
39
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
410
"https://checkstyle.org/dtds/configuration_1_3.dtd">

gradle-tasks/pmd/ruleset.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
<?xml version="1.0"?>
2-
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
38
<ruleset name="Custom Rules"
49
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
510
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

0 commit comments

Comments
 (0)