Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove zig gyro tests #947

Merged
merged 1 commit into from
Aug 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions examples/zig-gyro/.gitignore

This file was deleted.

36 changes: 0 additions & 36 deletions examples/zig-gyro/build.zig

This file was deleted.

1 change: 0 additions & 1 deletion examples/zig-gyro/gyro.lock

This file was deleted.

2 changes: 0 additions & 2 deletions examples/zig-gyro/gyro.zzz

This file was deleted.

13 changes: 0 additions & 13 deletions examples/zig-gyro/src/main.zig

This file was deleted.

8 changes: 0 additions & 8 deletions tests/docker_run_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -894,14 +894,6 @@ async fn test_zig() {
assert!(output.contains("Hello from Zig"));
}

#[tokio::test]
async fn test_zig_gyro() {
let name = simple_build("./examples/zig-gyro").await;
let output = run_image(&name, None).await;
assert!(output.contains("Hello from Zig"));
assert!(output.contains("The URI scheme of GitHub is https."));
}

#[tokio::test]
async fn test_ruby_2() {
let name = simple_build("./examples/ruby-2").await;
Expand Down
21 changes: 0 additions & 21 deletions tests/generate_plan_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,27 +107,6 @@ fn test_haskell_stack() {
);
}

#[cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "i386"))]
#[test]
fn test_zig_gyro() {
let plan = simple_gen_plan("./examples/zig-gyro");
let install = plan.get_phase("install").unwrap().clone();
let build = plan.get_phase("build").unwrap();
let start = plan.start_phase.clone().unwrap();

assert_eq!(
build.cmds,
Some(vec!["zig build -Drelease-safe=true".to_string()])
);
assert_eq!(start.cmd, Some("./zig-out/bin/zig-gyro".to_string()));
assert!(install
.cmds
.unwrap()
.get(0)
.unwrap()
.contains("mkdir /gyro"));
}

#[test]
fn test_node_turborepo_custom_app() {
let plan = generate_build_plan(
Expand Down
Loading