diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8a87a9e..78e0f6b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,19 +1,19 @@ stages: - - sonarqube-check + - sonarqube-check sonarqube-check: stage: sonarqube-check - image: + image: name: sonarsource/sonar-scanner-cli:5.0 entrypoint: [""] variables: - SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache - GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task + SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache + GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task cache: key: "${CI_JOB_NAME}" paths: - .sonar/cache - script: + script: - sonar-scanner allow_failure: true only: diff --git a/bean.py b/test/bean.py similarity index 100% rename from bean.py rename to test/bean.py diff --git a/digits.py b/test/digits.py similarity index 100% rename from digits.py rename to test/digits.py diff --git a/digits_tf.py b/test/digits_tf.py similarity index 100% rename from digits_tf.py rename to test/digits_tf.py diff --git a/fashion_mnist.py b/test/fashion_mnist.py similarity index 100% rename from fashion_mnist.py rename to test/fashion_mnist.py diff --git a/fashion_mnist_tf.py b/test/fashion_mnist_tf.py similarity index 100% rename from fashion_mnist_tf.py rename to test/fashion_mnist_tf.py diff --git a/iris.py b/test/iris.py similarity index 100% rename from iris.py rename to test/iris.py diff --git a/iris_tf.py b/test/iris_tf.py similarity index 100% rename from iris_tf.py rename to test/iris_tf.py diff --git a/mnist.py b/test/mnist.py similarity index 100% rename from mnist.py rename to test/mnist.py diff --git a/mnist_tf.py b/test/mnist_tf.py similarity index 100% rename from mnist_tf.py rename to test/mnist_tf.py diff --git a/seeds.py b/test/seeds.py similarity index 100% rename from seeds.py rename to test/seeds.py diff --git a/xor.py b/test/xor.py similarity index 100% rename from xor.py rename to test/xor.py diff --git a/test01.py b/test01.py deleted file mode 100644 index 7602de8..0000000 --- a/test01.py +++ /dev/null @@ -1,4 +0,0 @@ -it =iter(range(10)) - -for i in range(100): - print(next(it)) \ No newline at end of file