Commit 0ba1955a authored by Philipp Arras's avatar Philipp Arras

First time a test

parent 256fdfdb
Pipeline #28213 failed with stages
in 6 minutes and 52 seconds
image: parras/nifty:latest
image: docker:stable
stages:
- build_docker
# - test
- test
# - release
before_script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN gitlab-registry.mpcdf.mpg.de
- docker info
variables:
CONTAINER_TEST_IMAGE: gitlab-registry.mpcdf.mpg.de/ift/nifty:$CI_BUILD_REF_NAME
......@@ -20,11 +19,11 @@ variables:
# - >
# coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }'
# test_python3_scalar:
# stage: test
# script:
# - python3 setup.py install --user -f
# - nosetests3 -q
test_python3_scalar:
stage: test
script:
- docker run $CONTAINER_TEST_IMAGE python3 setup.py install --user -f
- docker run $CONTAINER_TEST_IMAGE nosetests3 -q
# test_python2_mpi:
# stage: test
......@@ -54,7 +53,6 @@ services:
- docker:dind
build_docker_container:
image: docker:stable
stage: build_docker
script:
- docker build -t $CONTAINER_TEST_IMAGE .
......
......@@ -14,4 +14,4 @@ RUN pip3 install parameterized coverage pyfftw git+https://gitlab.mpcdf.mpg.de/i
# Create user (openmpi does not like to be run as root)
RUN useradd -ms /bin/bash testinguser
USER testinguser
WORKDIR /home/testinguser
WORKDIR /home/testinguser
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment