Skip to content

Commit

Permalink
Make sure tox-conda is installed (#113)
Browse files Browse the repository at this point in the history
* Make sure tox-conda is installed

* moar conda

* fixes
  • Loading branch information
Cadair committed Oct 27, 2022
1 parent 6afaeb4 commit 0bb0a7a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
envs: |
- linux: mypy
- linux: py38-conda
toxdeps: tox-conda
- linux: py310
- linux: py311
- linux: py39
Expand Down
21 changes: 13 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
[tox]
envlist =
py{37,38,39,310}{,-conda}
py{37,38,39,310,311}{,-conda}
codestyle
build_docs
isolated_build = True

[testenv]
setenv =
PYTEST_COMMAND = pytest -vvv -s -raR --pyargs parfive --cov-report=xml --cov=parfive --cov-config={toxinidir}/setup.cfg {toxinidir}/docs {posargs}
extras =
ftp
tests
commands =
pytest -vvv -s -raR --pyargs parfive --cov-report=xml --cov=parfive --cov-config={toxinidir}/setup.cfg {toxinidir}/docs {posargs}
{env: PYTEST_COMMAND}

[testenv:build_docs]
changedir = docs
Expand Down Expand Up @@ -44,18 +45,22 @@ commands =
mypy -p parfive

# This env requires tox-conda.
[testenv:conda]
[testenv:py{38,39,310,311}-conda]
extras =
deps =
conda_deps =
aioftp
# core deps
tqdm
aiohttp
pytest-asyncio
pytest-cov
# ftp
aioftp
# tests
pytest
pytest-localserver
pytest-asyncio
pytest-socket
pytest-sugar
tqdm
pytest-cov
aiofiles
conda_channels = conda-forge
install_command = pip install --no-deps {opts} {packages}
commands =
Expand Down

0 comments on commit 0bb0a7a

Please sign in to comment.