Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
unrenamed committed Aug 29, 2023
1 parent bbc2549 commit db183cb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,12 @@ 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

docker:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Build Docker image
run: |
docker build . --file Dockerfile --tag coverage:$(date +%s)
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit db183cb

Please sign in to comment.