Skip to content
Snippets Groups Projects
Commit fc898118 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

fix(#132): fix: change `tests` job

parent 0c22dd6d
No related branches found
No related tags found
1 merge request!189Resolve "E2E tests fail but the CI succeeds"
Pipeline #34086 waiting for manual action
...@@ -127,20 +127,25 @@ build_release_tag: ...@@ -127,20 +127,25 @@ build_release_tag:
IMAGE_TAG: "$CI_COMMIT_TAG" IMAGE_TAG: "$CI_COMMIT_TAG"
PODMAN_BUILD_OPTIONS: "--platform linux/amd64" PODMAN_BUILD_OPTIONS: "--platform linux/amd64"
test_debug: tests:
stage: tests stage: tests
extends: .docker_build image: rust:1-bullseye
rules: rules:
- if: $CI_COMMIT_REF_NAME =~ /^wip*$/ - if: $CI_COMMIT_REF_NAME =~ /^wip*$/
when: manual when: manual
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
when: never when: never
- if: '$CI_MERGE_REQUEST_ID || $CI_COMMIT_BRANCH == "master"' - if: '$CI_MERGE_REQUEST_ID || $CI_COMMIT_BRANCH == "master"'
- when: manual when: manual
variables: variables:
IMAGE_NAME: "duniter/duniter-v2s-test" DEBIAN_FRONTEND: noninteractive
IMAGE_TAG: "debug-sha-$CI_COMMIT_SHORT_SHA" script:
PODMAN_BUILD_OPTIONS: "--target build --build-arg debug=1 --build-arg cucumber=1" - apt-get update
- apt-get install -y clang cmake protobuf-compiler
# cargo build is required for cucumber tests anyway
- cargo build
- cargo tu
- cargo cucumber
test_release: test_release:
stage: tests stage: tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment