Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 22 additions & 5 deletions .github/workflows/python-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,25 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu, windows, macos ]
release: [ stable, nightly ]
include:
- os: ubuntu
release: stable
python: '3.8'
- os: ubuntu
release: nightly
python: '3.11'
- os: windows
release: stable
python: '3.9'
- os: windows
release: nightly
python: '3.12'
- os: macos
release: stable
python: '3.10'
- os: macos
release: nightly
python: '3.13'
runs-on: ${{ format('{0}-latest', matrix.os) }}
steps:
- name: Checkout GitHub repo
Expand All @@ -47,7 +64,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: ${{ matrix.python }}
- name: Install dependencies nightly non-Windows
if: matrix.release == 'nightly' && matrix.os != 'windows'
run: |
Expand Down Expand Up @@ -80,8 +97,8 @@ jobs:
- name: Run tests
uses: nick-invision/retry@v3.0.0
with:
timeout_minutes: 40
timeout_minutes: 60
max_attempts: 3
command: |
cd examples/python
pytest
pytest --reruns 3
1 change: 1 addition & 0 deletions examples/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ selenium==4.26.1
pytest
trio
pytest-trio
pytest-rerunfailures
flake8
requests
Loading