From d7086a547122a59448e893fee20ab55fe07f79b5 Mon Sep 17 00:00:00 2001 From: alstr Date: Thu, 10 Apr 2025 15:52:28 +0100 Subject: [PATCH] Update CI workflow --- .github/workflows/ci.yml | 2 +- tests/test_process_diff.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'])