Skip to content
Snippets Groups Projects
Unverified Commit d16c4325 authored by Recolic Keghart's avatar Recolic Keghart
Browse files

update running settings

parent 1a9f3be5
No related branches found
No related tags found
No related merge requests found
Pipeline #21 passed with warnings with stages
in 9 minutes and 45 seconds
......@@ -32,26 +32,27 @@ test-positive-whole:
dependencies:
- build-jdk8
script:
- ./run.sh type src/test/data/pa2/sample/ast_coverage.py /tmp/out.o
- diff /tmp/out.o src/test/data/pa2/sample/ast_coverage.py.ast.typed
- ./run.sh parse src/test/data/pa2/sample/ast_coverage.py ast_coverage.ast.gi
- ./run.sh type ast_coverage.ast.gi ast_coverage.typed.gi
- diff ast_coverage.typed.gi src/test/data/pa2/sample/ast_coverage.py.ast.typed
allow_failure: true
code_quality:
image: docker:stable
stage: analyse
variables:
DOCKER_DRIVER: overlay2
allow_failure: true
services:
- docker:stable-dind
script:
- export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
- docker run
--env SOURCE_CODE="$PWD"
--volume "$PWD":/code
--volume /var/run/docker.sock:/var/run/docker.sock
"registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code
artifacts:
reports:
codequality: gl-code-quality-report.json
# code_quality:
# image: docker:stable
# stage: analyse
# variables:
# DOCKER_DRIVER: overlay2
# allow_failure: true
# services:
# - docker:stable-dind
# script:
# - export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
# - docker run
# --env SOURCE_CODE="$PWD"
# --volume "$PWD":/code
# --volume /var/run/docker.sock:/var/run/docker.sock
# "registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code
# artifacts:
# reports:
# codequality: gl-code-quality-report.json
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