Skip to content

Commit

Permalink
Update tensorflow test configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
thequilo committed Aug 26, 2024
1 parent 369df3a commit 29b6196
Showing 1 changed file with 6 additions and 48 deletions.
54 changes: 6 additions & 48 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py{38,39,310,311}, setup, numpy-{120,121,123,200}, tensorflow-{26,27,28,29,210,211}
envlist = py{38,39,310,311}, setup, numpy-{120,121,123,200}, tensorflow-{212,216}

[testenv]
deps =
Expand Down Expand Up @@ -61,68 +61,26 @@ deps =
commands =
pytest tests/test_config {posargs}

[testenv:tensorflow-115]
[testenv:tensorflow-212]
basepython = python
deps =
-rdev-requirements.txt
tensorflow~=1.15.0
numpy<2.0.0
tensorflow~=2.12.0
commands =
pytest tests/test_stflow tests/test_optional.py \
{posargs}

[testenv:tensorflow-26]
basepython = python
deps =
-rdev-requirements.txt
tensorflow~=2.6.0
commands =
pytest tests/test_stflow tests/test_optional.py \
{posargs}

[testenv:tensorflow-27]
[testenv:tensorflow-216]
basepython = python
deps =
-rdev-requirements.txt
tensorflow~=2.7.0
tensorflow~=2.16.0
commands =
pytest tests/test_stflow tests/test_optional.py \
{posargs}

[testenv:tensorflow-28]
basepython = python
deps =
-rdev-requirements.txt
tensorflow~=2.8.0
commands =
pytest tests/test_stflow tests/test_optional.py \
{posargs}

[testenv:tensorflow-29]
basepython = python
deps =
-rdev-requirements.txt
tensorflow~=2.9.0
commands =
pytest tests/test_stflow tests/test_optional.py \
{posargs}

[testenv:tensorflow-210]
basepython = python
deps =
-rdev-requirements.txt
tensorflow~=2.10.0
commands =
pytest tests/test_stflow tests/test_optional.py \
{posargs}

[testenv:tensorflow-211]
basepython = python
deps =
-rdev-requirements.txt
tensorflow~=2.11.0
commands =
pytest tests/test_stflow tests/test_optional.py \
{posargs}

[testenv:setup]
basepython = python
Expand Down

0 comments on commit 29b6196

Please sign in to comment.