From 6f8b27a2f2b14faf8a7b7f16a20d3e239541429f Mon Sep 17 00:00:00 2001 From: Wyatt Howe Date: Tue, 7 Nov 2023 01:14:59 -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 cf3aeec..ef68004 100644 --- a/.github/workflows/lint-test-build-upload.yml +++ b/.github/workflows/lint-test-build-upload.yml @@ -381,7 +381,8 @@ jobs: - 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')" - python -c "exec(\"import mclbn256\n mclbn256.mclbn256.assert_bilinearity()\n mclbn256.mclbn256.assert_serializable()\n print('pass') \")" + # python -c "exec(\"import mclbn256\n mclbn256.mclbn256.assert_bilinearity()\n mclbn256.mclbn256.assert_serializable()\n print('pass') \")" + (echo "import mclbn256" ; echo "mclbn256.mclbn256.assert_bilinearity()" ; echo "mclbn256.mclbn256.assert_serializable()" ; echo "print('pass')") | python # python -m pip install -U pip pylint coverage nose # python -m pylint mclbn256 # Check against linting rules. # python mclbn256/mclbn256.py -v # Run doctests.