removed sudo instal from ci
Some checks failed
Python CI / test (push) Successful in 1m18s
Lint / lint (push) Successful in 1m31s
Tests / test (3.11) (push) Successful in 1m25s
Tests / test (3.13) (push) Has been cancelled
Tests / test (3.14) (push) Has been cancelled
Tests / test (3.12) (push) Has been cancelled
Some checks failed
Python CI / test (push) Successful in 1m18s
Lint / lint (push) Successful in 1m31s
Tests / test (3.11) (push) Successful in 1m25s
Tests / test (3.13) (push) Has been cancelled
Tests / test (3.14) (push) Has been cancelled
Tests / test (3.12) (push) Has been cancelled
This commit is contained in:
parent
d911f00c93
commit
3b2301b547
@ -54,7 +54,6 @@ jobs:
|
|||||||
xvfb-run -a python -m pytest tests/ -v --cov=pyPhotoAlbum --cov-report=term-missing --cov-report=json --cov-report=html --cov-report=xml
|
xvfb-run -a python -m pytest tests/ -v --cov=pyPhotoAlbum --cov-report=term-missing --cov-report=json --cov-report=html --cov-report=xml
|
||||||
else
|
else
|
||||||
echo "xvfb-run not found, running with QT_QPA_PLATFORM=offscreen only"
|
echo "xvfb-run not found, running with QT_QPA_PLATFORM=offscreen only"
|
||||||
echo "For better Qt support, install: sudo apt-get install xvfb"
|
|
||||||
python -m pytest tests/ -v --cov=pyPhotoAlbum --cov-report=term-missing --cov-report=json --cov-report=html --cov-report=xml
|
python -m pytest tests/ -v --cov=pyPhotoAlbum --cov-report=term-missing --cov-report=json --cov-report=html --cov-report=xml
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
|
|||||||
@ -25,11 +25,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: Install system dependencies
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libegl1 libgl1-mesa-glx
|
|
||||||
|
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user