Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SaQC
Manage
Activity
Members
Labels
Plan
Issues
36
Issue boards
Milestones
Wiki
Code
Merge requests
8
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
rdm-software
SaQC
Merge requests
!716
Rolling release
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Rolling release
rolling-release
into
develop
Overview
1
Commits
8
Pipelines
5
Changes
5
Merged
Bert Palm
requested to merge
rolling-release
into
develop
1 year ago
Overview
1
Commits
8
Pipelines
5
Changes
2
Expand
👍
0
👎
0
Merge request reports
Compare
version 2
version 4
264e7a23
1 year ago
version 3
9c9ca342
1 year ago
version 2
d86c5771
1 year ago
version 1
591d8990
1 year ago
develop (base)
and
version 3
latest version
ee1bdd7e
8 commits,
1 year ago
version 4
264e7a23
7 commits,
1 year ago
version 3
9c9ca342
6 commits,
1 year ago
version 2
d86c5771
6 commits,
1 year ago
version 1
591d8990
5 commits,
1 year ago
Show latest version
2 files
+
125
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
.gitlab-ci.yml
+
125
−
2
Options
@@ -52,17 +52,138 @@ reuse:
-
reuse lint
# ===========================================================
# Testing stage
# ===========================================================
# make (visual) coverage in gitlab merge request diff's
coverage
:
stage
:
test
allow_failure
:
true
script
:
-
pip install pytest-cov coverage
-
pytest --cov=saqc tests --ignore=tests/fuzzy -Werror
after_script
:
-
coverage xml
# regex to find the coverage percentage in the job output
coverage
:
'
/^TOTAL.+?(\d+\%)$/'
artifacts
:
when
:
always
reports
:
coverage_report
:
coverage_format
:
cobertura
path
:
coverage.xml
python38
:
stage
:
test
image
:
python:3.8
script
:
-
pytest tests -Werror --junitxml=report.xml
-
python -m saqc --config docs/resources/data/config.csv --data docs/resources/data/data.csv --outfile /tmp/test.csv
artifacts
:
when
:
always
reports
:
junit
:
report.xml
python39
:
stage
:
test
image
:
python:3.9
script
:
-
pytest tests -Werror --junitxml=report.xml
-
python -m saqc --config docs/resources/data/config.csv --data docs/resources/data/data.csv --outfile /tmp/test.csv
artifacts
:
when
:
always
reports
:
junit
:
report.xml
python310
:
stage
:
test
image
:
python:3.10
script
:
-
pytest tests -Werror --junitxml=report.xml
-
python -m saqc --config docs/resources/data/config.csv --data docs/resources/data/data.csv --outfile /tmp/test.csv
artifacts
:
when
:
always
reports
:
junit
:
report.xml
python311
:
stage
:
test
image
:
python:3.11
script
:
-
pytest tests -Werror --junitxml=report.xml
-
python -m saqc --config docs/resources/data/config.csv --data docs/resources/data/data.csv --outfile /tmp/test.csv
artifacts
:
when
:
always
reports
:
junit
:
report.xml
doctest
:
stage
:
test
script
:
-
cd docs
-
pip install -r requirements.txt
-
make doc
# needed for _api tests
-
make test
# ===========================================================
# Building stage
# ===========================================================
# check if we are able to build a wheel
# and if the import works
wheel38
:
stage
:
build
image
:
python:3.8
script
:
-
pip install wheel
-
pip wheel .
-
pip install .
-
python -c 'import saqc; print(f"{saqc.__version__=}")'
wheel39
:
stage
:
build
image
:
python:3.9
script
:
-
pip install wheel
-
pip wheel .
-
pip install .
-
python -c 'import saqc; print(f"{saqc.__version__=}")'
wheel310
:
stage
:
build
image
:
python:3.10
script
:
-
pip install wheel
-
pip wheel .
-
pip install .
-
python -c 'import saqc; print(f"{saqc.__version__=}")'
wheel311
:
stage
:
build
image
:
python:3.11
script
:
-
pip install wheel
-
pip wheel .
-
pip install .
-
python -c 'import saqc; print(f"{saqc.__version__=}")'
docs
:
stage
:
build
script
:
-
cd docs
-
pip install -r requirements.txt
-
make doc
# ===========================================================
# Extra Pipeline (run with a successful run of all other jobs on develop)
# ===========================================================
testpypi
:
upload_
testpypi
:
stage
:
deploy
only
:
refs
:
-
develop
-
rolling-release
except
:
-
schedules
variables
:
@@ -74,6 +195,8 @@ testpypi:
-
python -m build
-
twine check --strict dist/*
-
twine upload -r testpypi dist/*
-
echo "install latest develop version with (all option flags are necessary):"
-
echo "pip install --pre -U -i https://test.pypi.org/simple/ --extra-index-url http://pypi.org/simple saqc-dev`"
# make html docu with sphinx
pages
:
Loading