From af6767b7d4a5a76e6717193da8b1c7b971a6319e Mon Sep 17 00:00:00 2001 From: zertrin Date: Mon, 27 Nov 2023 21:39:13 +0800 Subject: [PATCH] try disabling tox-conda for GH workflow --- .github/workflows/test.yml | 2 +- tox.ini | 39 +++++++++++++++++++------------------- 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aac5f07..d34c236 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: - name: Install dependencies run: | - python -m pip install --upgrade pip setuptools + python -m pip install --upgrade pip python -m pip install tox tox-gh-actions - name: Test with tox diff --git a/tox.ini b/tox.ini index e5b3584..e228fac 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -requires = tox-conda +; requires = tox-conda envlist = py37, py38, py39, py310, py311, py312, flake8 skip_missing_interpreters = True @@ -21,29 +21,30 @@ deps = commands = py.test --basetemp={envtmpdir} --cov=zkpytb -[testenv:py37] -conda_deps = - python=3.7 +; [testenv:py37] +; conda_deps = +; python=3.7 +; setuptools -[testenv:py38] -conda_deps = - python=3.8 +; [testenv:py38] +; conda_deps = +; python=3.8 -[testenv:py39] -conda_deps = - python=3.9 +; [testenv:py39] +; conda_deps = +; python=3.9 -[testenv:py310] -conda_deps = - python=3.10 +; [testenv:py310] +; conda_deps = +; python=3.10 -[testenv:py311] -conda_deps = - python=3.11 +; [testenv:py311] +; conda_deps = +; python=3.11 -[testenv:py312] -conda_deps = - python=3.12 +; [testenv:py312] +; conda_deps = +; python=3.12 [testenv:flake8] basepython=python