Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B-ASIC - Better ASIC Toolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computer Engineering
B-ASIC - Better ASIC Toolbox
Commits
a6ddd44b
Commit
a6ddd44b
authored
2 years ago
by
Oscar Gustafsson
Browse files
Options
Downloads
Patches
Plain Diff
Add testing with pyqt5
parent
c99955f8
No related branches found
No related tags found
No related merge requests found
Pipeline
#88461
passed with warnings
2 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+48
-3
48 additions, 3 deletions
.gitlab-ci.yml
pyproject.toml
+1
-1
1 addition, 1 deletion
pyproject.toml
with
49 additions
and
4 deletions
.gitlab-ci.yml
+
48
−
3
View file @
a6ddd44b
...
...
@@ -8,6 +8,9 @@ before_script:
-
python -m pip install --upgrade pip
-
python --version
-
pip install pytest pytest-cov sphinx furo numpydoc pytest-xvfb pytest-qt setuptools_scm sphinx-qt-documentation pytest-xdist pytest-mpl
-
pip install $QT_API
-
export PYTEST_QT_API=$QT_API
-
export QT_API=$QT_API
# - export CXXFLAGS='--coverage'
-
pip install -ve .
# Move file, but should be handled by installation
...
...
@@ -30,19 +33,59 @@ before_script:
coverage
:
/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/
run-test-3.8
:
run-test-3.8-pyside2
:
variables
:
QT_API
:
pyside2
image
:
python:3.8
extends
:
"
.run-test"
run-test-3.9
:
run-test-3.8-pyqt5
:
variables
:
QT_API
:
pyqt5
image
:
python:3.8
extends
:
"
.run-test"
run-test-3.9-pyside2
:
variables
:
QT_API
:
pyside2
image
:
python:3.9
extends
:
"
.run-test"
run-test-3.9-pyqt5
:
variables
:
QT_API
:
pyqt5
image
:
python:3.9
extends
:
"
.run-test"
run-test-3.10
:
run-test-3.10-pyside2
:
variables
:
QT_API
:
pyside2
image
:
python:3.10
extends
:
"
.run-test"
run-test-3.10-pyqt5
:
variables
:
QT_API
:
pyqt5
image
:
python:3.10
extends
:
"
.run-test"
run-test-3.10-pyside6
:
variables
:
QT_API
:
pyside6
image
:
python:3.10
extends
:
"
.run-test"
allow_failure
:
true
run-test-3.10-pyqt6
:
variables
:
QT_API
:
pyqt6
image
:
python:3.10
extends
:
"
.run-test"
allow_failure
:
true
run-doc-test
:
variables
:
QT_API
:
pyside2
image
:
python:3.10
stage
:
test
script
:
...
...
@@ -53,6 +96,8 @@ run-doc-test:
# extends: ".run-test"
pages
:
variables
:
QT_API
:
pyqt5
stage
:
deploy
image
:
python:3.10
script
:
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
1
−
1
View file @
a6ddd44b
...
...
@@ -10,7 +10,7 @@ requires-python = ">=3.8"
dependencies
=
[
"numpy"
,
"pybind11>
=
2.3
.
0
",
"pyside2"
,
#
"pyside2",
"qtpy"
,
"graphviz>
=
0.19
",
"matplotlib"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment