Adds code coverage (#757)

* coverage initial push

* compiles on PR

* adds db env variable

* fixed env variables being on the wrong action

* added more tests yml code

* refresh

* tried copying over tests.yml

* removed accidental tests

* shotgun attempts

* generated yml

* more tries

* shotgun again

* small mistakes

* repush

* repush

* Adds env variables to tarp

* removes unused actions and tests cfg attribute on main.rs

* only will work on push to master

* changed to 60%

---------

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
This commit is contained in:
Wyatt Verchere
2023-11-17 17:58:15 -08:00
committed by GitHub
parent 74973e73e6
commit e06a77af28
4 changed files with 60 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ pub struct Pepper {
pub pepper: String,
}
#[cfg(not(tarpaulin_include))]
#[actix_rt::main]
async fn main() -> std::io::Result<()> {
dotenvy::dotenv().ok();