forked from pygraphviz/pygraphviz
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 1.01 KB
/
conda-ubuntu.yml
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
40
41
name: conda-forge-ubuntu
on:
schedule:
# Run this workflow once a week
- cron: "0 0 * * 0"
workflow_dispatch:
jobs:
install:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
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