File: conda-windows.yml

package info (click to toggle)
python-pygraphviz 1.14-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 732 kB
  • sloc: ansic: 5,100; python: 2,669; makefile: 57
file content (39 lines) | stat: -rw-r--r-- 1,051 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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.10", "3.11", "3.12", "3.13-dev"]
    steps:
      - name: Setup conda with mambaforge
        uses: conda-incubator/setup-miniconda@v3
        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