@@ -48,22 +48,27 @@ jobs:
4848 if : contains(steps.changed-files.outputs.modified_files, 'number-systems/')
4949 run : ./test-sdc.sh number-systems
5050 shell : bash
51+ - name : test implement-cowsay
52+ id : test-implement-cowsay
53+ if : contains(steps.changed-files.outputs.modified_files, 'implement-cowsay/')
54+ run : ./test-sdc.sh implement-cowsay
55+ shell : bash
5156 - name : make output comment
52- if : steps.test-individual-shell-tools.outputs.attempted == 'y' || steps.test-jq.outputs.attempted == 'y' || steps.test-shell-pipelines.outputs.attempted == 'y' || steps.test-number-systems.outputs.attempted == 'y'
57+ if : steps.test-individual-shell-tools.outputs.attempted == 'y' || steps.test-jq.outputs.attempted == 'y' || steps.test-shell-pipelines.outputs.attempted == 'y' || steps.test-number-systems.outputs.attempted == 'y' || steps.test-implement-cowsay.outputs.attempted == 'y'
5358 env :
5459 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5560 ISSUE_URL : ${{ github.event.pull_request.html_url }}
5661 run : |
5762 gh pr comment $ISSUE_URL --body-file testoutput.txt
5863 - name : add appropriate labels
59- if : steps.test-individual-shell-tools.outputs.complete == 'y' || steps.test-jq.outputs.complete == 'y' || steps.test-shell-pipelines.outputs.complete == 'y'
64+ if : steps.test-individual-shell-tools.outputs.complete == 'y' || steps.test-jq.outputs.complete == 'y' || steps.test-shell-pipelines.outputs.complete == 'y' || steps.test-implement-cowsay.outputs.complete == 'y'
6065 env :
6166 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6267 ISSUE_URL : ${{ github.event.pull_request.html_url }}
6368 run : |
6469 gh pr edit $ISSUE_URL --add-label "Complete"
6570 gh pr edit $ISSUE_URL --remove-label "Needs Review"
6671 - name : fail if not complete
67- if : (steps.test-individual-shell-tools.outputs.attempted == 'y' || steps.test-jq.outputs.attempted == 'y' || steps.test-shell-pipelines.outputs.attempted == 'y') && !(steps.test-individual-shell-tools.outputs.complete == 'y' || steps.test-jq.outputs.complete == 'y' || steps.test-shell-pipelines.outputs.complete == 'y')
72+ if : (steps.test-individual-shell-tools.outputs.attempted == 'y' || steps.test-jq.outputs.attempted == 'y' || steps.test-shell-pipelines.outputs.attempted == 'y' || steps.test-implement-cowsay.outputs.attempted == 'y' ) && !(steps.test-individual-shell-tools.outputs.complete == 'y' || steps.test-jq.outputs.complete == 'y' || steps.test-shell-pipelines.outputs.complete == 'y' || steps.test-implement-cowsay .outputs.complete == 'y')
6873 run : |
6974 exit -1
0 commit comments