Closed cspang1 closed 4 years ago
Looks like this was due to a conflict with different version of xvfb installed.
It appears that was a red herring. The issue persists.
Everything works without the plugin and performing an explicit xvfb init:
sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX
But everything fails with the plugin.
My test is extremely simple, and works perfectly fine on my local machine:
import sys, os
sys.path.append(os.path.join(os.path.dirname(sys.path[0]), "src")) from jide import jide
def test_file_open(qtbot): print("start of test") temp = jide() qtbot.addWidget(temp) assert True I am running via Git Actions with the following script:
name: Build
on: push: branches: [ master ] pull_request: branches: [ master ]
jobs: build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Cache
uses: actions/cache@v2.0.0
id: cache
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-test
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: |
python -m pip install --upgrade pip
pip install flake8
pip install -r requirements.txt
- name: Lint with flake8
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest
Duplicate of #22
Google caching algorithm needs to work faster! Thanks for the reference.
The following output occurs during a build with bare minimum example: