From 62365db5114f014438786f99767983dde50b375b Mon Sep 17 00:00:00 2001 From: Alexis Date: Mon, 4 Nov 2024 14:04:01 +0100 Subject: [PATCH] Debug directories Signed-off-by: Alexis --- .github/workflows/tests.yml | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b1a8d1e..c3d8a74 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -45,10 +45,10 @@ jobs: matrix: python: - "3.9" - - "3.10" - - "3.11" - - "3.12" - - "3.13" +# - "3.10" +# - "3.11" +# - "3.12" +# - "3.13" runs-on: windows-latest steps: @@ -64,13 +64,13 @@ jobs: - name: Install Python ${{ matrix.python }} run: uv python install ${{ matrix.python }} - - name: Install OpenSSL - env: - OPENSSL_INSTALLER: "Win64OpenSSL-3_3_2.exe" - OPENSSL_PATH: "C:\\OpenSSL-Win64" - run: | - curl.exe -o "c:\\${env:OPENSSL_INSTALLER}" -fsSL "https://slproweb.com/download/${env:OPENSSL_INSTALLER}" - Start-Process -FilePath "c:\\${env:OPENSSL_INSTALLER}" -ArgumentList "/silent /verysilent /DIR=${env:OPENSSL_PATH}" -NoNewWindow -Wait +# - name: Install OpenSSL +# env: +# OPENSSL_INSTALLER: "Win64OpenSSL-3_3_2.exe" +# OPENSSL_PATH: "C:\\OpenSSL-Win64" +# run: | +# curl.exe -o "c:\\${env:OPENSSL_INSTALLER}" -fsSL "https://slproweb.com/download/${env:OPENSSL_INSTALLER}" +# Start-Process -FilePath "c:\\${env:OPENSSL_INSTALLER}" -ArgumentList "/silent /verysilent /DIR=${env:OPENSSL_PATH}" -NoNewWindow -Wait - name: Setup rust uses: dtolnay/rust-toolchain@1482605bfc5719782e1267fd0c0cc350fe7646b8 @@ -78,8 +78,17 @@ jobs: components: rustfmt toolchain: 1.81.0 + - name: Get env variables + shell: bash + run: | + UV_PYTHON_PATH="$(uv python dir)" + echo "PATH=$PATH;$UV_PYTHON_PATH" >> $GITHUB_ENV + echo "PYO3_PYTHON=$UV_PYTHON_PATH/python.exe" >> $GITHUB_ENV + - name: test - run: make test INSTALL_EXTRA=test + run: | + env + make test INSTALL_EXTRA=test shell: bash env: OPENSSL_DIR: "C:\\OpenSSL-Win64"