From 0c53e09e307aeab4d0ca59bb48b5782fa571e687 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 647f2aa..bc34a0e 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 0000000..8df2c2c --- /dev/null +++ b/tarpaulin.toml @@ -0,0 +1,8 @@ +[lua54_coverage] +features = "lua54,vendored,async,serialize,macros,unstable" + +[lua51_coverage] +features = "lua51,vendored,async,serialize,macros,unstable" + +[luau_coverage] +features = "luau,async,serialize,macros,unstable"