local code coverage

This commit is contained in:
t1m0t committed 2022-02-06 17:51:04 +01:00
1 parent 92ec0a448f
commit 5ba2c43274
6 files changed
+38 -18

No files matched your search

+4 -16
View File
@@ -1,20 +1,8 @@
FROM rust:1.58-buster
FROM dioxus-base-test-image
RUN apt update
RUN apt install -y \
libglib2.0-dev \
libgtk-3-dev \
libsoup2.4-dev \
libappindicator3-dev \
libwebkit2gtk-4.0-dev \
firefox-esr
# for kcov and Tarpaulin
#liblzma-dev binutils-dev libcurl4-openssl-dev libdw-dev libelf-dev
RUN cargo install cargo-make --debug
# for test coverage
#RUN cargo install cargo-tarpaulin
# clean up a bit
RUN cargo install cargo-binstall
RUN cargo install cargo-make
RUN cargo install wasm-pack
RUN cargo install cargo-cache && cargo cache -a
CMD ["exit"]