mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-04-18 22:35:38 +02:00
Compare commits
5 Commits
feature/sc
...
ci/update_
| Author | SHA1 | Date | |
|---|---|---|---|
| 7669fc1a42 | |||
| ceaa50153d | |||
| 2c2fc7659b | |||
| eea4383d5e | |||
| 3f838400b5 |
@@ -15,6 +15,7 @@ variables:
|
||||
CHECK_PKG_VERSIONS:
|
||||
description: Whether to run additional tests against min/max/random selection of dependencies. Set to 1 for running.
|
||||
value: 0
|
||||
QT_QPA_PLATFORM: "offscreen"
|
||||
|
||||
workflow:
|
||||
rules:
|
||||
@@ -72,6 +73,7 @@ before_script:
|
||||
echo -e "\033[35;1m Using branch $CHILD_PIPELINE_BRANCH of BEC Widgets \033[0;m";
|
||||
test -d bec_widgets || git clone --branch $CHILD_PIPELINE_BRANCH https://gitlab.psi.ch/bec/bec_widgets.git; cd bec_widgets;
|
||||
fi
|
||||
- *install-os-packages
|
||||
|
||||
formatter:
|
||||
stage: Formatter
|
||||
@@ -147,7 +149,7 @@ tests:
|
||||
- *clone-repos
|
||||
- *install-os-packages
|
||||
- *install-repos
|
||||
- pip install -e .[dev,pyqt6]
|
||||
- pip install -e .[dev,pyside6]
|
||||
- coverage run --source=./bec_widgets -m pytest -v --junitxml=report.xml --maxfail=2 --random-order --full-trace ./tests/unit_tests
|
||||
- coverage report
|
||||
- coverage xml
|
||||
@@ -210,7 +212,7 @@ end-2-end-conda:
|
||||
- cd ../
|
||||
- pip install -e ./ophyd_devices
|
||||
|
||||
- pip install -e .[dev,pyqt6]
|
||||
- pip install -e .[dev,pyside6]
|
||||
- cd ./tests/end-2-end
|
||||
- pytest -v --start-servers --flush-redis --random-order
|
||||
|
||||
|
||||
@@ -17,12 +17,12 @@ dependencies = [
|
||||
"bec_lib>=2.21.4, <=4.0",
|
||||
"black~=24.0", # needed for bw-generate-cli
|
||||
"isort~=5.13, >=5.13.2", # needed for bw-generate-cli
|
||||
"pydantic~=2.0",
|
||||
"pyqtgraph~=0.13",
|
||||
"pydantic~=2.8",
|
||||
"pyqtgraph~=0.13, >=0.13.7",
|
||||
"bec_qthemes~=0.7, >=0.7",
|
||||
"qtconsole~=5.5, >=5.5.1", # needed for jupyter console
|
||||
"qtpy~=2.4",
|
||||
"pyte", # needed for vt100 console
|
||||
"qtpy~=2.4, >=2.4.1",
|
||||
"pyte~=0.8, >=0.8.1", # needed for vt100 console
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user