Skip to content
Snippets Groups Projects

Resolve "Change CI : congregate Stable Build and Stable Tests in same job"

+ 8
16
stages:
stages:
- builds
- build_and_tests
- tests
- clippy
- clippy
- fmt
- fmt
before_script:
before_script:
- export PATH="$HOME/.cargo/bin:$PATH"
- export PATH="$HOME/.cargo/bin:$PATH"
build:stable:
build_and_tests:stable:
stage: builds
stage: build_and_tests
tags:
tags:
- redshift-rs-stable
- redshift-rs-stable
script:
script:
- cargo build --all-features
- cargo test --all-features
tests:stable:
stage: tests
tags:
- redshift-rs-stable
script:
- cargo test
build_and_tests:beta:
build_and_tests:beta:
stage: tests
stage: build_and_tests
tags:
tags:
- redshift-rs-beta
- redshift-rs-beta
script:
script:
- rustup update
- rustup update
- cargo test
- cargo test --all-features
when: manual
when: manual
allow_failure: true
allow_failure: true
build_and_tests:nightly:
build_and_tests:nightly:
stage: tests
stage: tebuild_and_testssts
image: rustlang/rust:nightly
image: rustlang/rust:nightly
tags:
tags:
- redshift-rs-nightly
- redshift-rs-nightly
script:
script:
- cargo test
- cargo test --all-features
when: manual
when: manual
allow_failure: true
allow_failure: true
Loading