diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index bc22fd4..164b3d3 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -23,7 +23,7 @@ jobs: - name: Install dependencies run: | poetry install - python -m pip install tox tox-gh-actions pytest-playwright + python -m pip install tox tox-gh-actions pytest-playwright pytest-rerunfailures - name: Install playwright dependencies run: | playwright install --with-deps diff --git a/tox.ini b/tox.ini index 11720ec..96d2b19 100644 --- a/tox.ini +++ b/tox.ini @@ -1,18 +1,20 @@ [tox] -envlist = py{38,39,310}-streamlit{21,22,23,24} +envlist = py{38,39,310}-streamlit{21,23,25,27} isolated_build = True [testenv] deps = pytest pytest-playwright + pytest-rerunfailures streamlit21: streamlit==1.21.0 - streamlit22: streamlit==1.22.0 - streamlit23: streamlit==1.23.1 - streamlit24: streamlit==1.24.0 + streamlit23: streamlit==1.23.0 + streamlit25: streamlit==1.25.1 + streamlit27: streamlit==1.27.0 + commands: playwright install - pytest --browser chromium + pytest --browser chromium --reruns 3 [tox:.package] # note tox will use the same python version as under what tox is installed to package