mirror of
https://github.com/rbreu/beeref.git
synced 2026-03-11 08:54:28 +00:00
Fix xvfb-run in pytest action (pt2)
This commit is contained in:
parent
1742daa743
commit
be13aa2ddb
1 changed files with 1 additions and 2 deletions
3
.github/workflows/pytest.yml
vendored
3
.github/workflows/pytest.yml
vendored
|
|
@ -23,9 +23,8 @@ jobs:
|
|||
python -m pip install --upgrade pip
|
||||
pip install .
|
||||
pip install -r requirements/dev.txt
|
||||
/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
|
||||
- name: Run Unittests with pytest
|
||||
run: |
|
||||
xvfb-run --server-num=99 --server-args="-screen 0 1920x1200x24" coverage run --source=beeref -m pytest -v -s
|
||||
xvfb-run --auto-servernum --server-num=1 --server-args="-screen 1 1920x1200x24 -ac +extension GLX" coverage run --source=beeref -m pytest -v -s
|
||||
- name: Upload Coverage report to Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
|
|
|
|||
Loading…
Reference in a new issue