File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change 1414 matrix :
1515 os : [ ubuntu-20.04 ]
1616 python-version : [ '3.11','3.12' ]
17- toxenv : [ quality, docs, pytest ]
1817 permissions :
1918 # Gives the action the necessary permissions for publishing new
2019 # comments in pull requests.
3837 run : pip install -r requirements/ci.txt
3938
4039 - name : Run Tests
41- env :
42- TOXENV : ${{ matrix.toxenv }}
4340 run : tox
44-
45- - name : Run coverage
46- if : matrix.python-version == '3.11' && matrix.toxenv == 'django42'
47- uses : py-cov-action/python-coverage-comment-action@v3
48- with :
49- GITHUB_TOKEN : ${{ github.token }}
50- MINIMUM_GREEN : 90
51- MINIMUM_ORANGE : 85
52- ANNOTATE_MISSING_LINES : true
53- ANNOTATION_TYPE : error
54-
55- - name : Store Pull Request comment to be posted
56- uses : actions/upload-artifact@v4
57- if : steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
58- with :
59- # If you use a different name, update COMMENT_ARTIFACT_NAME accordingly
60- name : python-coverage-comment-action
61- # If you use a different name, update COMMENT_FILENAME accordingly
62- path : python-coverage-comment-action.txt
You can’t perform that action at this time.
0 commit comments