Skip to content

Commit

Permalink
Fix failing CI (use-ink#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Müller authored Jan 20, 2022
1 parent 3017efd commit 3397f63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ test:
stage: test
<<: *docker-env
script:
- cargo test --verbose --workspace --all-features
- rustup override set nightly-2022-01-19
- cargo +nightly test --verbose --workspace --all-features

test-new-project-template:
stage: test
Expand Down
3 changes: 0 additions & 3 deletions src/cmd/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ pub(crate) fn execute(manifest_path: &ManifestPath, verbosity: Verbosity) -> Res
"Running tests".bright_green().bold()
);

// We need to make sure that `RUSTFLAGS` are not set in the CI here.
// `cargo-contract` sets them when building contracts.
std::env::set_var("RUSTFLAGS", "");
let stdout = util::invoke_cargo("test", &[""], manifest_path.directory(), verbosity)?;

Ok(TestResult { stdout, verbosity })
Expand Down

0 comments on commit 3397f63

Please sign in to comment.