Skip to content

Commit e5d3e91

Browse files
committed
Explicitly call out the selenium job in the GitHub actions matrix
1 parent a1ad2be commit e5d3e91

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ jobs:
8888
database: psycopg3
8989
- python-version: '3.13'
9090
database: postgis3
91+
- python-version: '3.13'
92+
database: postgresql
93+
name: selenium
9194

9295
services:
9396
postgres:
@@ -138,11 +141,21 @@ jobs:
138141
python -m pip install --upgrade tox tox-gh-actions
139142
140143
- name: Test with tox
144+
if: matrix.name != 'selenium'
145+
run: tox
146+
env:
147+
DB_BACKEND: ${{ matrix.database }}
148+
DB_HOST: localhost
149+
DB_PORT: 5432
150+
151+
- name: Test with tox (selenium)
152+
if: matrix.name == 'selenium'
141153
run: tox
142154
env:
143155
DB_BACKEND: ${{ matrix.database }}
144156
DB_HOST: localhost
145157
DB_PORT: 5432
158+
DJANGO_SELENIUM_TESTS: true
146159

147160
sqlite:
148161
runs-on: ubuntu-latest

tox.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ passenv=
4242
setenv =
4343
PYTHONPATH = {toxinidir}
4444
PYTHONWARNINGS = d
45-
py311-dj42-postgresql: DJANGO_SELENIUM_TESTS = {env:DJANGO_SELENIUM_TESTS:true}
4645
DB_NAME = {env:DB_NAME:debug_toolbar}
4746
DB_USER = {env:DB_USER:debug_toolbar}
4847
DB_HOST = {env:DB_HOST:localhost}

0 commit comments

Comments
 (0)