Skip to content

Commit

Permalink
use conda packages in github action test environment instead of pip a…
Browse files Browse the repository at this point in the history
…nd debian packages
  • Loading branch information
mccroweyclinton-EPA committed Oct 18, 2024
1 parent 55a2127 commit da66140
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/github-ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,8 @@ jobs:
cache: "pip"
- name: install_dependencies
run: |
python -m pip install --upgrade pip
#The next three lines are used to install pyenchant on ubuntu
#(needed for sphinxcontrib-pyspelling)
if [runner.os == 'Linux']; then
sudo apt-get update -y
sudo apt-get install -y python-enchant; fi
pip install build pytest
pip install -r requirements.txt
conda install --yes -c conda-forge micromamba
micromamba install -c conda-forge --yes --file=environment.yaml
- name: Display Python version and system info
run: python -c "import platform; print(platform.uname())"
- name: Display Python version and system info
Expand Down
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
21 changes: 21 additions & 0 deletions environment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# environment.yaml

channels:
- conda-forge
dependencies:
- python>=3.8
- conda-build
- tox-conda
- pandas
- pep517
- requests
- setuptools
- sphinx
- sphinxcontrib-apidoc
- sphinxcontrib-bibtex
- toml
- sphinx_rtd_theme
- numpydoc
- certifi
- cryptography
- pytest

0 comments on commit da66140

Please sign in to comment.