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"