Skip to content

Commit

Permalink
windows runner debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrewq11 committed Nov 12, 2024
1 parent f4275b1 commit 90dc934
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fail-fast: false
matrix:
os: [windows-latest] # ubuntu-latest, macos-latest
python-version: ["3.10", "3.11"] # -> Will re-enable support for py312 once pyg is released, "3.10",
python-version: ["3.11"] # -> Will re-enable support for py312 once pyg is released, "3.10",

runs-on: ${{ matrix.os }}
timeout-minutes: 30
Expand Down Expand Up @@ -49,22 +49,21 @@ jobs:
with:
environment-file: ${{ env.ENV_FILE }}
environment-name: graphium
cache-environment: true
cache-environment: false
cache-downloads: true
create-args: >-
python=${{ matrix.python-version }}
- name: Install library
run: python -m pip install --no-deps --no-build-isolation -e . -v # `-e` required for correct `coverage` run.

- name: Debug Windows Testing
run: mamba install rdkit=2024.03.4
if: matrix.os == 'windows-latest'

- name: Run tests
run: |
export PATH="$CONDA_PREFIX/Library/bin:$PATH"
echo "Current PATH: $PATH"
# Print debug information
echo "RDBASE: $RDBASE"
echo "PATH: $PATH"
python -c "import rdkit; print('RDKit version:', rdkit.__version__)"
micromamba list rdkit
pytest
- name: Test CLI
Expand Down
1 change: 0 additions & 1 deletion env_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,3 @@ dependencies:
# Build deps
- setuptools-scm
- build
- pywin32

0 comments on commit 90dc934

Please sign in to comment.