mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-22 22:06:43 +00:00
Update CI workflow
This commit is contained in:
parent
3e1aeb955e
commit
d7086a5471
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -16,5 +16,5 @@ jobs:
|
|||||||
pip install -r requirements.txt -r requirements-dev.txt
|
pip install -r requirements.txt -r requirements-dev.txt
|
||||||
- name: "Run tests"
|
- name: "Run tests"
|
||||||
run: python -m unittest discover
|
run: python -m unittest discover
|
||||||
with:
|
env:
|
||||||
SKIP_PROCESS_DIFF_TEST: true
|
SKIP_PROCESS_DIFF_TEST: true
|
||||||
@ -74,7 +74,7 @@ class IssueUrlInsertionTest(unittest.TestCase):
|
|||||||
# this test can take a while and, as far as TodoParser is concerned,
|
# this test can take a while and, as far as TodoParser is concerned,
|
||||||
# redundant with the tests of test_todo_parser, so enable the means
|
# redundant with the tests of test_todo_parser, so enable the means
|
||||||
# to skip it if desired
|
# to skip it if desired
|
||||||
@unittest.skipIf(os.getenv('INPUT_SKIP_PROCESS_DIFF_TEST', 'false') == 'true',
|
@unittest.skipIf(os.getenv('SKIP_PROCESS_DIFF_TEST', 'false') == 'true',
|
||||||
"Skipping because 'SKIP_PROCESS_DIFF_TEST' is 'true'")
|
"Skipping because 'SKIP_PROCESS_DIFF_TEST' is 'true'")
|
||||||
def test_url_insertion(self):
|
def test_url_insertion(self):
|
||||||
self._setUp(['test_new.diff'])
|
self._setUp(['test_new.diff'])
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user