fixing ci pipeline for python3.9 and python3.13 #607
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build-Windows: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
python-version: ["3.9"] | |
env: | |
CONDA_ENV_NAME: "testing_env" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Miniforge | |
run: | | |
choco install miniforge3 --yes --force | |
- name: Add conda to PATH | |
run: | | |
echo "$env:CONDA" | Out-File -Append -FilePath $env:GITHUB_PATH | |
echo "$env:CONDA\Scripts" | Out-File -Append -FilePath $env:GITHUB_PATH | |
- name: Set up Miniforge | |
run: | | |
conda init powershell | |
gci env:* | sort-object name | |
conda create --name $env:CONDA_ENV_NAME pip python=${{ matrix.python-version }} | |
conda install --name $env:CONDA_ENV_NAME -y -c conda-forge -c schrodinger ` | |
catch2=2.13.3 ` | |
cxx-compiler ` | |
collada2gltf ` | |
freetype ` | |
glew ` | |
glm ` | |
libpng ` | |
libxml2 ` | |
libnetcdf ` | |
libffi | |
- name: Get additional sources | |
run: | | |
git clone --depth 1 https://github.com/rcsb/mmtf-cpp.git | |
Copy-Item -Recurse -Path mmtf-cpp/include/mmtf\* -Destination "$env:CONDA_PREFIX\Library\include" | |
git clone --depth 1 --single-branch --branch cpp_master https://github.com/msgpack/msgpack-c.git | |
Copy-Item -Recurse -Path msgpack-c/include/msgpack\* -Destination "$env:CONDA_PREFIX\Library\include" | |
- name: Build PyMOL | |
run: | | |
activate $env:CONDA_ENV_NAME | |
pip install -v --config-settings testing=True .[dev] | |
- name: Test | |
run: | | |
activate $env:CONDA_ENV_NAME | |
pymol -ckqy testing\testing.py --run all | |