Skip to content

Commit 50a1fc5

Browse files
committed
try to install firefox only when actually running selenium tests
1 parent 6d7424a commit 50a1fc5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ jobs:
2020
name: Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }}, cryptography ${{ matrix.cryptography-version }}, pydantic ${{ matrix.pydantic-version }}
2121
steps:
2222
- name: Install APT dependencies
23-
run: sudo apt-get install -y firefox softhsm2
23+
run: sudo apt-get install -y softhsm2
24+
25+
- name: Install Firefox
26+
run: sudo apt-get install -y firefox
27+
if: ${{ matrix.python-version == '3.13' && matrix.cryptography-version == '44.0' && matrix.pydantic-version == '2.10.0' }}
2428

2529
- name: Acquire sources
2630
uses: actions/checkout@v4.1.1

0 commit comments

Comments
 (0)