Skip to content

Commit

Permalink
Enabled tests on development version of Odra
Browse files Browse the repository at this point in the history
  • Loading branch information
kubaplas committed Feb 26, 2024
1 parent 9988318 commit 3ba697a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-cargo-odra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- run: just prepare
- run: just check-lint
- run: just install
# - run: just test-project-generation-on-future-odra
# - run: just test-workspace-generation-on-future-odra
- run: just test-project-generation-on-future-odra
- run: just test-workspace-generation-on-future-odra
- run: just test-project-generation-on-stable-odra
- run: just test-workspace-generation-on-stable-odra
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DEVELOPMENT_ODRA_BRANCH := "release/0.8.0"
DEVELOPMENT_ODRA_BRANCH := "release/0.9.0"
BINARYEN_VERSION := "version_116"
BINARYEN_CHECKSUM := "c55b74f3109cdae97490faf089b0286d3bba926bb6ea5ed00c8c784fc53718fd"

Expand Down
6 changes: 3 additions & 3 deletions src/actions/init.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Module responsible for initializing an Odra project.
use std::path::PathBuf;
use std::path::{Path, PathBuf};

use cargo_generate::{GenerateArgs, TemplatePath, Vcs};
use cargo_toml::{Dependency, DependencyDetail};
Expand Down Expand Up @@ -133,12 +133,12 @@ impl InitAction {
fn replace_package_placeholder(
init: bool,
odra_location: &OdraLocation,
cargo_toml_path: &PathBuf,
cargo_toml_path: &Path,
placeholder: &str,
crate_name: &str,
) {
replace_in_file(
cargo_toml_path.clone(),
cargo_toml_path.to_path_buf(),
placeholder,
format!(
"{} = {{ {} }}",
Expand Down

0 comments on commit 3ba697a

Please sign in to comment.