add start of test
This commit is contained in:
parent
66867ff5f4
commit
fd9cb5b20d
6
tests/ci_test.rs
Normal file
6
tests/ci_test.rs
Normal file
|
@ -0,0 +1,6 @@
|
|||
#[test]
|
||||
fn ci() {
|
||||
let url = url::Url::parse(&std::env::var("FORGEJO_API_CI_INSTANCE_URL").unwrap()).unwrap();
|
||||
let token = std::env::var("FORGEJO_API_CI_TOKEN").unwrap();
|
||||
let api = forgejo_api::Forgejo::new(&token, url).unwrap();
|
||||
}
|
Loading…
Reference in a new issue