Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
faust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.4.
Show more breadcrumbs
faust group
faust
Commits
5515d464
Commit
5515d464
authored
2 years ago
by
hhakim
Browse files
Options
Downloads
Patches
Plain Diff
Add scheduled ci job for pyfaust doctesting.
parent
cc876e90
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+23
-3
23 additions, 3 deletions
.gitlab-ci.yml
with
23 additions
and
3 deletions
.gitlab-ci.yml
+
23
−
3
View file @
5515d464
...
...
@@ -73,13 +73,13 @@ ctest_matlab:
only
:
-
schedules
ctest_nightly_linux
:
.
ctest_nightly_linux
:
<<
:
*ctest_nightly_script
tags
:
-
linux
-
matlab
ctest_nightly_macos
:
.
ctest_nightly_macos
:
<<
:
*ctest_nightly_script
variables
:
{
BUILD_WRAPPER_MATLAB
:
"
ON"
,
BUILD_WRAPPER_PYTHON
:
"
ON"
,
SLOW_TESTS
:
"
ON"
,
DONT_PYPLOT_FAUST_TIME
:
"
ON"
,
NOPY2
:
"
ON"
,
BUILD_MULTITHREAD
:
"
OFF"
}
# set mt to OFF because MacOS is kind of tricky to configure with OpenMP
tags
:
...
...
@@ -92,6 +92,26 @@ ctest_nightly_macos:
tags
:
-
win10
doctest_nightly
:
script
:
-
if [[ ! -d "doctest_pyfaust_latest" ]]; then $JOB_PYTHON -m venv doctest_pyfaust-latest;fi
-
source doctest_pyfaust-latest/bin/activate
-
python -m pip install pyfaust
-
PF_DIR=`dirname $(python -c "import pyfaust as pf; print(pf.__file__)")`
#- python -m doctest -v $PF_DIR/__init__.py
# already tested before pkg release
-
python -m doctest -v $PF_DIR/factparams.py
-
python -m doctest -v $PF_DIR/proj.py
-
python -m doctest -v $PF_DIR/poly.py
-
python -m doctest -v $PF_DIR/tools.py
-
python -m doctest -v $PF_DIR/fact.py
-
python -m doctest -v $PF_DIR/demo.py
-
deactivate
-
rm -Rf doctest_pyfaust-latest
only
:
-
schedules
tags
:
-
linux
pkg_macos
:
stage
:
pkg
script
:
...
...
@@ -435,7 +455,7 @@ pkg_linux_purepy_release:
# verify the pyfaust root with doctest (no go on failure)
-
if [[ ! $(basename $PWD) = 'build' ]]; then cd build;fi
-
cd wrapper/python
-
if ! python3 -m doctest -v pyfaust/__init__.py; then echo "error with doctest verification of pyfaust doc" 2>&1 && exit 1;fi
-
if ! python3 -m doctest -v pyfaust/__init__.py; then echo "error with doctest verification of pyfaust doc" 2>&1 && exit 1;fi
# TODO: remove manual exit/code + msg (useless)
-
cd ../..
tags
:
-
linux
...
...
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