CI cargo test added (#6)

This commit is contained in:
Shashank Trivedi 2024-03-23 01:02:34 +05:30 committed by GitHub
parent 17abfa7041
commit f16a006c23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 15 additions and 1 deletions

View File

@ -80,6 +80,13 @@ jobs:
./y.sh prepare --only-libcore
./y.sh build
cargo test
- name: Run y.sh cargo build
run: |
./y.sh cargo build --manifest-path tests/hello-world/Cargo.toml
- name: Clean
run: |
./y.sh clean all
- name: Prepare dependencies

View File

@ -0,0 +1,4 @@
[package]
name = "hello_world"
[dependencies]

View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}