Skip to content

Commit 9368e3f

Browse files
authored
Do not run utest with PyPy (#1759)
* Do not run utest with PyPy
1 parent be05ecc commit 9368e3f

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/CI.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,8 @@ jobs:
3131
run: |
3232
python -m pip install --upgrade pip
3333
pip install -r requirements.txt
34-
pip install mockito>=1.0.0
3534
pip install robotstatuschecker>=1.4
36-
pip install approvaltests>=0.2.4
37-
pip install pytest pytest-mockito pytest-approvaltests requests robotframework-pabot
35+
pip install requests robotframework-pabot
3836
- name: Install RF ${{ matrix.rf-version }}
3937
run: |
4038
pip install -U --pre robotframework==${{ matrix.rf-version }}
@@ -46,16 +44,20 @@ jobs:
4644
if: matrix.python-version != 'pypy3'
4745
run: |
4846
which python
47+
- name: Run tests with headless Chrome and with PyPy
48+
if: matrix.python-version == 'pypy3'
49+
run: |
50+
xvfb-run --auto-servernum python atest/run.py --nounit --zip headlesschrome
4951
- name: Run tests with headless Chrome and with Python != 3.8
50-
if: matrix.python-version != '3.8'
52+
if: matrix.python-version != '3.8' && matrix.python-version != 'pypy3'
5153
run: |
5254
xvfb-run --auto-servernum python atest/run.py --zip headlesschrome
5355
- name: Run tests normal Chrome with Python 3.8
54-
if: matrix.python-version == '3.8' && matrix.rf-version != '3.2.2'
56+
if: matrix.python-version == '3.8' && matrix.rf-version != '3.2.2' && matrix.python-version != 'pypy3'
5557
run: |
5658
xvfb-run --auto-servernum python atest/run.py --zip chrome
5759
- name: Run tests with Selenium Grid
58-
if: matrix.python-version == '3.8' && matrix.rf-version == '3.2.2'
60+
if: matrix.python-version == '3.8' && matrix.rf-version == '3.2.2' && matrix.python-version != 'pypy3'
5961
run: |
6062
wget --no-verbose --output-document=./selenium-server-standalone.jar http://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar
6163
sudo chmod u+x ./selenium-server-standalone.jar

0 commit comments

Comments
 (0)