From 71d0bee1757bc20978dfdcdcc6807fa9a9006b44 Mon Sep 17 00:00:00 2001 From: unrenamed Date: Tue, 29 Aug 2023 17:18:21 +0300 Subject: [PATCH] tmp --- .github/workflows/build.yml | 5 +++++ Dockerfile | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 Dockerfile diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b947a30..816b7a3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,3 +37,8 @@ jobs: cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out Lcov --output-dir ./coverage - name: Upload to coveralls.io uses: coverallsapp/github-action@v2 + - name: Build Docker image + uses: docker/build-push-action@v4 + with: + context: . + file: ./Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..59d0ee1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM rustlang/rust:nightly-bullseye +WORKDIR /app +COPY . /app +RUN rustc -V +RUN cargo install cargo-tarpaulin +RUN cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out HTML --output-dir ./coverage