Skip to content

Commit 92e17e1

Browse files
committed
Better environment variable for skipping installing cryptography
1 parent cb0a778 commit 92e17e1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ jobs:
223223
env:
224224
LSP: '${{ matrix.lsp }}'
225225
LSP_EXTRACT_FILE: '${{ matrix.lsp_extract_file }}'
226-
ARCH: '${{ matrix.arch }}'
226+
SKIP_SSL_INSTALLATION: "${{ matrix.arch == 'x86' && 1 || 0 }}"
227227
- if: always()
228228
uses: codecov/codecov-action@v7
229229
with:

‎ci.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ if [ "${NO_TEST_REQUIREMENTS-0}" == 1 ]; then
5555
flags="--skip-optional-imports"
5656
else
5757
flags=""
58-
if [ "x$ARCH" == "xx86" ]; then
58+
if [ "${SKIP_SSL_INSTALLATION-0}" == 1 ]; then
5959
echo cryptography >excluded_deps
6060
PIP_ARGS="--exclude excluded_deps"
6161
flags="--skip-ssl-imports"

0 commit comments

Comments
 (0)