File tree Expand file tree Collapse file tree 2 files changed +18
-12
lines changed
Expand file tree Collapse file tree 2 files changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -16,25 +16,30 @@ jobs:
1616 - uses : actions/checkout@v3 # Use to copy the files from current directory
1717 - name : Test formatting
1818 run : |
19+ echo "STEP=$(echo Test Formatting | cut -c 1-20)" >> $STEP
1920 set -euxo
20- docker-compose -f scripts/docker_lintage/docker-compose.yaml run --build format_test
21+ docker-compose -f scripts/docker_lintage/docker-compose.yaml run format_test
2122 - name : Complexity
2223 run : |
23- docker-compose -f scripts/docker_lintage/docker-compose.yaml run --build complexity
24+ echo "STEP=$(echo Code Complexity | cut -c 1-20)" >> $STEP
25+ docker-compose -f scripts/docker_lintage/docker-compose.yaml run complexity
2426 - name : Documentation
2527 run : |
26- docker-compose -f scripts/docker_lintage/docker-compose.yaml run --build documentation
28+ echo "STEP=$(echo Documentation | cut -c 1-20)" >> $STEP
29+ docker-compose -f scripts/docker_lintage/docker-compose.yaml run documentation
2730 - name : Test Coverage
2831 run : |
29- docker-compose -f scripts/docker_lintage/docker-compose.yaml run --build coverage
32+ echo "STEP=$(echo Test Coverage | cut -c 1-20)" >> $STEP
33+ docker-compose -f scripts/docker_lintage/docker-compose.yaml run coverage
3034 - uses : act10ns/slack@v2
3135 with :
3236 status : ${{job.status}}
33- message : Shame on ${{ github.event.name.pull_request.user.login }}! Test coverage is not enough.
37+ message : Shame on ${{ github.event.pull_request.user.login }}! Your Code is not compliant with ${{ STEP }}.
38+ # channel: '#general'
3439 if : failure()
3540 - name : Unit Test
3641 run : |
37- docker-compose -f scripts/docker_lintage/docker-compose.yaml run --build unittest
42+ docker-compose -f scripts/docker_lintage/docker-compose.yaml run unittest
3843 - uses : act10ns/slack@v2
3944 with :
4045 status : ${{job.status}}
Original file line number Diff line number Diff line change @@ -50,9 +50,10 @@ colors:
5050 failure : " #884EA0"
5151 cancelled : " #A569BD"
5252 default : " #7D3C98"
53- # icons:
54- # success: ":tada:"
55- # failure: ":scream:"
56- # cancelled: ":x:"
57- # skipped: ":kangaroo:"
58- # default: ":interrobang:"
53+
54+ icons :
55+ success : " :tada:"
56+ failure : " :scream:"
57+ cancelled : " :x:"
58+ skipped : " :kangaroo:"
59+ default : " :interrobang:"
You can’t perform that action at this time.
0 commit comments