Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
blackary committed Sep 29, 2023
1 parent 5bb79ff commit 2f1f604
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 7 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 2f1f604

Please sign in to comment.