Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
shotgun again
Browse files Browse the repository at this point in the history
  • Loading branch information
thesuzerain committed Nov 14, 2023
1 parent 0ab6450 commit 0e77d2f
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/coverage-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Rust33

on:
push:
branches: [ "main" ]
branches: [ "master" ]
pull_request:
branches: [ "main" ]
branches: [ "master" ]

env:
CARGO_TERM_COLOR: always
Expand All @@ -14,6 +14,11 @@ jobs:
integration-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Start Docker Compose
- name: Start Docker Compose
run: docker-compose up -d

- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/coverage-tarp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
image: xd009642/tarpaulin:develop-nightly
options: --security-opt seccomp=unconfined
steps:
- uses: actions/checkout@v2
# Start Docker Compose
- name: Start Docker Compose
run: docker-compose up -d

- name: Checkout repository
uses: actions/checkout@v2

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ jobs:
name: Run rust test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Start Docker Compose
- name: Start Docker Compose
run: docker-compose up -d

- uses: actions/checkout@v4
- name: Install Rust
run: rustup update stable
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/coverage2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Coverage2

on: [pull_request, push]

jobs:
coverage2:
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v2
# Start Docker Compose
- name: Start Docker Compose
run: docker-compose up -d

- uses: actions/checkout@v4
- name: Install Rust
run: rustup update stable
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
files: lcov.info
fail_ci_if_error: true

0 comments on commit 0e77d2f

Please sign in to comment.