Skip to content
Snippets Groups Projects
Verified Commit 89ed91df authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Add GC.gc call to a retrieval test and update the pipeline

parent 24573642
No related branches found
No related tags found
1 merge request!7Tests for caosdb-julialib!12 (release result set)
Pipeline #13321 failed
......@@ -43,7 +43,7 @@ variables:
# The defalt branch to use with caosdb-cpplib
# TODO: Change back to dev once f-consolidate-c has been merged
CPP_DEFAULT_BRANCH: dev
stages:
- info
- code-style
......@@ -65,6 +65,7 @@ info:
- echo "CAOSDB_TAG = $CAOSDB_TAG"
- echo "REFTAG = $REFTAG"
- echo "F_BRANCH = $F_BRANCH"
- echo "CPPLIB_REF = $CPPLIB_REF"
- ls -lah /image-cache/
code-style:
......@@ -97,12 +98,13 @@ build-testenv: &build-testenv
timeout: 2h
needs: []
script:
- CPPLIB_REF=${CPPLIB_REF:-${CPP_DEFAULT_BRANCH}}
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker pull $JULIALIB_REGISTRY_IMAGE || true
- docker build
--build-arg JULIALIB_REGISTRY_IMAGE=$JULIALIB_REGISTRY_IMAGE
--build-arg F_BRANCH=$F_BRANCH
--build-arg CPP_DEFAULT_BRANCH=$CPP_DEFAULT_BRANCH
--build-arg CPP_DEFAULT_BRANCH=$CPPLIB_REF
--file .docker/Dockerfile
--pull
--cache-from $JULIAINTTEST_REGISTRY_IMAGE
......
......@@ -126,6 +126,7 @@ end
# Helper functions
ent = retrieve("20")
GC.gc() # assure that ent still has a valid wrapped pointer
@test get_name(ent) == "name"
results = retrieve(["20", "21"])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment