From 16d959aab3f5888cdadb046d213a777514805773 Mon Sep 17 00:00:00 2001 From: Wyatt Howe Date: Tue, 7 Nov 2023 01:08:58 -0800 Subject: [PATCH] Escape Windows Python test snippet. --- .github/workflows/lint-test-build-upload.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint-test-build-upload.yml b/.github/workflows/lint-test-build-upload.yml index d9a1972..cf3aeec 100644 --- a/.github/workflows/lint-test-build-upload.yml +++ b/.github/workflows/lint-test-build-upload.yml @@ -380,7 +380,8 @@ jobs: # run: pip install -f wheelhouse mclbn256 --no-index - name: Lint and test module (and compiled MCl shared library file). run: | - python -c "import mclbn256; mclbn256.mclbn256.assert_bilinearity(); mclbn256.mclbn256.assert_serializable(); print('pass')" # Commented out so Win32 doesn't complain about its wheel. + # python -c "import mclbn256; mclbn256.mclbn256.assert_bilinearity(); mclbn256.mclbn256.assert_serializable(); print('pass')" + python -c "exec(\"import mclbn256\n mclbn256.mclbn256.assert_bilinearity()\n mclbn256.mclbn256.assert_serializable()\n print('pass') \")" # python -m pip install -U pip pylint coverage nose # python -m pylint mclbn256 # Check against linting rules. # python mclbn256/mclbn256.py -v # Run doctests.