From a7677d137813b2330f2e910e7e9bb946a77f60e4 Mon Sep 17 00:00:00 2001 From: Wyatt Howe Date: Tue, 7 Nov 2023 01:17:37 -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 ef68004..a58d41b 100644 --- a/.github/workflows/lint-test-build-upload.yml +++ b/.github/workflows/lint-test-build-upload.yml @@ -382,7 +382,8 @@ jobs: 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') \")" - (echo "import mclbn256" ; echo "mclbn256.mclbn256.assert_bilinearity()" ; echo "mclbn256.mclbn256.assert_serializable()" ; echo "print('pass')") | python + # (echo "import mclbn256" ; echo "mclbn256.mclbn256.assert_bilinearity()" ; echo "mclbn256.mclbn256.assert_serializable()" ; echo "print('pass')") | python + echo "import mclbn256\nmclbn256.mclbn256.assert_bilinearity()\nmclbn256.mclbn256.assert_serializable()\nprint('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.