File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22name : Units Tests
33
44on :
5- pull_request :
6- branches :
7- - main
5+ # Manual trigger only
6+ workflow_dispatch :
87
98# Cancel existing tests on the same PR if a new commit is added to a pull request
109concurrency :
5150 - name : Test with pytest
5251 run : |
5352 python -m pytest ./tests --ignore=tests/test_text_spotting/
54-
55-
56- - name : Upload coverage to Codecov
57- uses : codecov/codecov-action@v4
58- timeout-minutes : 5
59- with :
60- token : ${{ secrets.CODECOV_TOKEN }}
61- directory : ./coverage/reports/
62- env_vars : OS,PYTHON
63- fail_ci_if_error : false
64- files : ./coverage.xml,!./cache
65- flags : unittests
66- name : codecov-umbrella
Original file line number Diff line number Diff line change 7676
7777 - name : Test with pytest
7878 run : |
79- python -m pytest --cov=./ --cov-report=xml ./tests
80-
81- - name : Upload coverage to Codecov
82- uses : codecov/codecov-action@v4
83- timeout-minutes : 5
84- with :
85- token : ${{ secrets.CODECOV_TOKEN }}
86- directory : ./coverage/reports/
87- env_vars : OS,PYTHON
88- fail_ci_if_error : false
89- files : ./coverage.xml,!./cache
90- flags : unittests
91- name : codecov-umbrella
79+ python -m pytest ./tests
You can’t perform that action at this time.
0 commit comments