From 765117c2bb1f0dbea159b7652b6ec9295e423bc6 Mon Sep 17 00:00:00 2001 From: Alex Orlenko Date: Wed, 12 Apr 2023 00:34:26 +0100 Subject: [PATCH] Update tarpaulin settings --- .github/workflows/coverage.yml | 2 +- tarpaulin.toml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 tarpaulin.toml diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 647f2aa7..bc34a0e1 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -14,7 +14,7 @@ jobs: - name: Generate coverage report run: | - cargo tarpaulin --verbose --features lua54,vendored,async,send,serialize,macros --out xml --exclude-files benches --exclude-files build --exclude-files mlua_derive --exclude-files src/ffi --exclude-files tests + cargo tarpaulin --out xml --tests --exclude-files benches/* --exclude-files src/ffi/*/* - name: Upload report to codecov.io uses: codecov/codecov-action@v3 diff --git a/tarpaulin.toml b/tarpaulin.toml new file mode 100644 index 00000000..f5f71b4f --- /dev/null +++ b/tarpaulin.toml @@ -0,0 +1,8 @@ +[lua54_coverage] +features = "lua54,vendored,async,serialize,macros" + +[lua51_coverage] +features = "lua51,vendored,async,serialize,macros" + +[luau_coverage] +features = "luau,async,serialize,macros"