From 8d4a3b327bf3eabbc0efea5bf343b997314c687a Mon Sep 17 00:00:00 2001 From: Lucas Hoffmann Date: Sun, 11 Aug 2024 10:54:56 +0200 Subject: [PATCH] Fix quoting in sed regex --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e5e0a887f..91e31ad80 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -123,8 +123,8 @@ jobs: echo FULL = 4 > gpg/constants/validity.py sed -i '/import unittest/araise unittest.SkipTest("gpg based test do not work in CI")\n' tests/test_crypto.py - sed -i 's/( *)def setUpClass.*/&\n\1 raise unittest.SkipTest("gpg based test do not work in CI")\n/' tests/db/test_utils.py - sed -i 's/( *)async def test_no_spawn_no_stdin_attached.*/\1@unittest.skip\n&/' tests/commands/test_global.py + sed -i 's/\( *\)def setUpClass.*/&\n\1 raise unittest.SkipTest("gpg based test do not work in CI")\n/' tests/db/test_utils.py + sed -i 's/\( *\)async def test_no_spawn_no_stdin_attached.*/\1@unittest.skip\n&/' tests/commands/test_global.py - name: Run tests run: python3 -m unittest --verbose