conda-forge-windows #4
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: conda-forge-windows | |
on: | |
schedule: | |
# Run this workflow once a week | |
- cron: "0 0 * * 0" | |
workflow_dispatch: | |
jobs: | |
install: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10", "3.11"] | |
steps: | |
- name: Setup conda with mambaforge | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: true | |
python-version: ${{ matrix.python-version }} | |
- name: Conda info | |
shell: bash -l {0} | |
run: conda info | |
- name: Conda list | |
shell: bash -l {0} | |
run: conda list | |
- name: Install and Test | |
shell: bash -l {0} | |
run: | | |
mamba create -n pgv-testenv python=${{ matrix.python-version }} | |
conda activate pgv-testenv | |
mamba install --channel conda-forge pygraphviz | |
mamba install --channel conda-forge pytest | |
pytest --pyargs pygraphviz |