diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dba467c..13987d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,5 +16,5 @@ jobs: pip install -r requirements.txt -r requirements-dev.txt - name: "Run tests" run: python -m unittest discover - with: + env: SKIP_PROCESS_DIFF_TEST: true \ No newline at end of file diff --git a/tests/test_process_diff.py b/tests/test_process_diff.py index ea45b23..32556c2 100644 --- a/tests/test_process_diff.py +++ b/tests/test_process_diff.py @@ -74,7 +74,7 @@ class IssueUrlInsertionTest(unittest.TestCase): # 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 # 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'") def test_url_insertion(self): self._setUp(['test_new.diff'])