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:
IMAGE_TAG: "$CI_COMMIT_TAG"
PODMAN_BUILD_OPTIONS: "--platform linux/amd64"
test_debug:
tests:
stage: tests
extends: .docker_build
image: rust:1-bullseye
rules:
- if: $CI_COMMIT_REF_NAME =~ /^wip*$/
when: manual
- if: $CI_COMMIT_TAG
when: never
- if: '$CI_MERGE_REQUEST_ID || $CI_COMMIT_BRANCH == "master"'
- when: manual
when: manual
variables:
IMAGE_NAME: "duniter/duniter-v2s-test"
IMAGE_TAG: "debug-sha-$CI_COMMIT_SHORT_SHA"
PODMAN_BUILD_OPTIONS: "--target build --build-arg debug=1 --build-arg cucumber=1"
DEBIAN_FRONTEND: noninteractive
script:
- 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:
stage: tests
......
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