Skip to content

renaming conda-guard to conda-schutz #15

renaming conda-guard to conda-schutz

renaming conda-guard to conda-schutz #15

Workflow file for this run

name: conda-schutz tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies (conda)
run: |
conda update -n base -c defaults conda
conda env update --file environment.yml --name base
conda install --file requirements.dev.txt
- name: Install latz
run: |
pip install -e .
- name: Test with pytest
run: |
pytest --doctest-modules