File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,23 +3,7 @@ name: Testing
33on : [push, pull_request]
44
55jobs :
6- pre_job :
7- # continue-on-error: true # Uncomment once integration is finished
8- runs-on : ubuntu-latest
9- # Map a step output to a job output
10- outputs :
11- should_skip : ${{ steps.skip_check.outputs.should_skip }}
12- steps :
13- - id : skip_check
14- uses : fkirc/skip-duplicate-actions@master
15- with :
16- # All of these options are optional, so you can remove them if you are happy with the defaults
17- concurrent_skipping : ' same_content'
18- skip_after_successful_duplicate : ' true'
19- paths_ignore : ' ["**/README.md"]'
206 lint :
21- needs : pre_job
22- if : ${{ needs.pre_job.outputs.should_skip != 'true' }}
237 strategy :
248 matrix :
259 cmd :
4327 - name : Run lint check
4428 run : poetry run pre-commit run -a ${{ matrix.cmd }}
4529 pytest :
46- needs : pre_job
47- if : ${{ needs.pre_job.outputs.should_skip != 'true' }}
4830 permissions :
4931 checks : write
5032 pull-requests : write
You can’t perform that action at this time.
0 commit comments