Skip to content

Commit

Permalink
Use setup-miniconda with miniforge (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp authored Aug 31, 2023
1 parent f1f52d6 commit 8b6adb3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,17 @@ jobs:
echo "XDG_UTILS_DEBUG_LEVEL=2" >> $GITHUB_ENV
echo "XDG_CURRENT_DESKTOP=GNOME" >> $GITHUB_ENV
- name: Install dependencies
uses: mamba-org/provision-with-micromamba@main
- name: Install miniforge
uses: conda-incubator/setup-miniconda@v2
with:
environment-file: false
environment-name: test
channels: conda-canary/label/conda-conda-pr-11882,conda-forge
extra-specs: |
miniforge-version: latest

- name: Add dependencies
shell: bash -el {0}
run: |
conda install -yq --solver libmamba \
--file tests/requirements.txt \
python=${{ matrix.python-version }}
conda-canary/label/conda-conda-pr-11882::conda
pip
pytest
pytest-cov
pydantic <2.0a0
hypothesis
hypothesis-jsonschema
- shell: bash -el {0}
name: Conda info
Expand Down
8 changes: 8 additions & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
python
pip
conda
pydantic<2.0a0
pytest
pytest-cov
hypothesis
hypothesis-jsonschema

0 comments on commit 8b6adb3

Please sign in to comment.