Skip to content

Commit 32fa42b

Browse files
committed
hello-world tests added
1 parent c88c560 commit 32fa42b

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
9898
- name: Run y.sh cargo build
9999
run: |
100-
./y.sh cargo build
100+
./y.sh cargo build --manifest-path tests/hello-world/Cargo.toml
101101
102102
- name: Check formatting
103103
run: cargo fmt -- --check

tests/hello-world/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[package]
2+
name = "hello_world"
3+
4+
[dependencies]

tests/hello-world/src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fn main() {
2+
println!("Hello, world!");
3+
}

0 commit comments

Comments
 (0)