Commit 4f460270 authored by Oscar Gustafsson's avatar Oscar Gustafsson
Browse files

Prepare for testing the QT parts

parent 8f668a80
Pipeline #72139 failed with stages
in 1 minute and 35 seconds
stages:
- test
before_script:
- apt-get update --yes
- apt-get install --yes build-essential cmake libfmt-dev pybind11-dev
- apt-get install --yes xvfb qt5-default
- python -m pip install --upgrade pip
- python --version
- pip install pytest pytest-cov pytest-xvfb pytest-qt
- pip install .
- pip show b_asic
- test-gui
.run-test:
stage: test
script:
- apt-get update --yes
- apt-get install --yes build-essential cmake libfmt-dev pybind11-dev
- python -m pip install --upgrade pip
- python --version
- pip install pytest pytest-cov
- pip install .
- pip show b_asic
- pytest --cov=b_asic --cov-report xml:cov.xml --cov-report term test
artifacts:
reports:
......@@ -40,3 +38,25 @@ run-test-3.9:
run-test-3.10:
image: python:3.10
extends: ".run-test"
run-test-qt:
image: ubuntu-latest
script:
- apt-get install --yes xvfb qt5-default
- pip install pytest-xvfb pytest-qt
run-gui-test:
image: ubuntu-latest
stage: test-gui
script:
- apt-get update --yes
- apt-get install --yes build-essential cmake libfmt-dev pybind11-dev \
xvfb
- apt-get install --yes python3 python3-pip
- apt-get install --yes python3-pyqt5
- python -m pip install --upgrade pip
- python --version
- pip install pytest pytest-cov pytest-xvfb pytest-qt
- pip install .
- pip show b_asic
- pytest --cov=b_asic --cov-report xml:cov.xml --cov-report term test
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment