Skip to content

fix: fix tests

fix: fix tests #2647

Workflow file for this run

name: tests
on:
push:
branches:
- not-a-branch
pull_request: null
jobs:
bot:
name: check graph loads
runs-on: "ubuntu-latest"
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
with:
path: cf-graph
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.9
channels: conda-forge,defaults
channel-priority: strict
show-channel-urls: true
miniforge-version: latest
miniforge-variant: Mambaforge
activate-environment: cf-scripts
- name: install bot code
run: |
mamba install -y -q pygithub requests git pytest
git config --global user.name regro-cf-autotick-bot
git config --global user.email [email protected]
git config --global pull.rebase false
conda config --env --set add_pip_as_python_dependency False
conda info
conda config --show-sources
conda list --show-channel-urls
git clone --depth=1 https://github.com/regro/cf-scripts.git
pushd cf-scripts
conda env update --file environment.yml
python -m pip install -e .
popd
git clone --depth=1 https://github.com/conda-forge/conda-forge-pinning-feedstock.git
- name: load graph
run: |
pushd cf-graph
pytest -vv test_load_graph.py
popd