File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 52
52
go-version : ' 1.20.1'
53
53
54
54
- name : Setup Gradle
55
- uses : gradle/gradle-build-action@v3
55
+ uses : gradle/actions/setup-gradle@v4
56
56
57
57
- name : Install project modules
58
58
run : npm ci
Original file line number Diff line number Diff line change 87
87
88
88
- name : setup Python
89
89
uses : actions/setup-python@v4
90
+ if : steps.test-check.outputs.retest-is-needed == 'true'
90
91
with :
91
92
python-version : ' 3.9'
92
93
cache : ' pip'
@@ -95,21 +96,16 @@ jobs:
95
96
run : |
96
97
echo "python-bin-location=$(echo $pythonLocation)/bin" >> $GITHUB_OUTPUT
97
98
98
-
99
99
- name : re-test Unit-Tests + Integration Tests
100
+ if : steps.test-check.outputs.retest-is-needed == 'true'
100
101
env :
101
- RETEST_IS_NECESSARY : ${{ steps.test-check.outputs.retest-is-needed}}
102
102
TRIGGERING_FILE : ${{ steps.test-check.outputs.triggering-file}}
103
103
run : |
104
- if [[ $RETEST_IS_NECESSARY == "true" ]]; then
105
- echo "Re-test was triggered!!, triggering changed file - $TRIGGERING_FILE"
106
- echo "Running Again Unit-tests =>"
107
- npm run test
108
- echo "Running Again Integration tests =>"
109
- npm run integration-tests
110
- else
111
- echo "Re-test of library is not needed, continuing to deployment!"
112
- fi
104
+ echo "Re-test was triggered!!, triggering changed file - $TRIGGERING_FILE"
105
+ echo "Running Again Unit-tests =>"
106
+ npm run test
107
+ echo "Running Again Integration tests =>"
108
+ npm run integration-tests
113
109
114
110
- name : Publish package
115
111
env :
You can’t perform that action at this time.
0 commit comments