Update tarpaulin settings

This commit is contained in:
Alex Orlenko 2023-04-12 00:34:26 +01:00
parent cdbf04f50c
commit 0c53e09e30
No known key found for this signature in database
GPG Key ID: 4C150C250863B96D
2 changed files with 9 additions and 1 deletions

View File

@ -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

8
tarpaulin.toml Normal file
View File

@ -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"