From 18ca871a0578b09a486fcb07aecae83cefa9a371 Mon Sep 17 00:00:00 2001 From: Helder Eijs Date: Fri, 15 Sep 2023 17:54:00 +0200 Subject: [PATCH] Fix command to run tests on pycryptodomex --- .github/workflows/integration.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index fe81edac..960a59dc 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -59,8 +59,13 @@ jobs: pip install . - name: Test + shell: bash run: | - python -m Crypto.SelfTest + if [[ -f .separate_namespace ]]; then + python -m Cryptodome.SelfTest + else + python -m Crypto.SelfTest + fi build_python_27: # GitHub Actions will not setup Python 2.7 since June 2023 @@ -114,9 +119,13 @@ jobs: python -m pip install . - name: Test + shell: bash run: | - python -m Crypto.SelfTest - + if [[ -f .separate_namespace ]]; then + python -m Cryptodome.SelfTest + else + python -m Crypto.SelfTest + fi mypy: runs-on: ubuntu-latest steps: