Skip to content
Snippets Groups Projects

Update dependency description

Merged Oscar Gustafsson requested to merge newdependencies into master
Files
4
+ 10
6
@@ -4,20 +4,22 @@ stages:
@@ -4,20 +4,22 @@ stages:
before_script:
before_script:
- apt-get update --yes
- apt-get update --yes
- apt-get install --yes build-essential cmake libfmt-dev pybind11-dev graphviz python3-pyqt5 xvfb xdg-utils lcov
- apt-get install --yes build-essential cmake graphviz python3-pyqt5 xvfb xdg-utils lcov
- python -m pip install --upgrade pip
- python -m pip install --upgrade pip
- python --version
- python --version
- pip install -r requirements.txt
- pip install -r requirements.txt
- pip install -r requirements_doc.txt
- pip install -r requirements_test.txt
- pip install $QT_API
- pip install $QT_API
- export PYTEST_QT_API=$QT_API
- git fetch --tags
- export QT_API=$QT_API
# - export CXXFLAGS='--coverage'
# - export CXXFLAGS='--coverage'
- pip install -ve .
# Install without dependencies to make sure that requirements.txt is up-to-date
 
- pip install --no-deps -ve .
# Move file, but should be handled by installation
# Move file, but should be handled by installation
- mv _b_asic* b_asic
- mv _b_asic* b_asic
- pip show b_asic
- pip show b_asic
 
- export QT_API=$QT_API
 
# Install test dependencies
 
- pip install -r requirements_test.txt
 
- export PYTEST_QT_API=$QT_API
.run-test:
.run-test:
stage: test
stage: test
@@ -106,6 +108,7 @@ run-doc-test:
@@ -106,6 +108,7 @@ run-doc-test:
image: python:3.10
image: python:3.10
stage: test
stage: test
script:
script:
 
- pip install -r requirements_doc.txt
- sphinx-build -b html docs_sphinx public
- sphinx-build -b html docs_sphinx public
pages:
pages:
@@ -114,6 +117,7 @@ pages:
@@ -114,6 +117,7 @@ pages:
stage: deploy
stage: deploy
image: python:3.10
image: python:3.10
script:
script:
 
- pip install -r requirements_doc.txt
- sphinx-build -b html docs_sphinx public
- sphinx-build -b html docs_sphinx public
artifacts:
artifacts:
paths:
paths:
Loading