Skip to content

Commit

Permalink
repush
Browse files Browse the repository at this point in the history
  • Loading branch information
thesuzerain committed Nov 14, 2023
1 parent ed1cfa7 commit 281927a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 82 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/coverage-2.yml

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/coverage-tarp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ on:
branches: [ master ]
jobs:
citarp:
runs-on: ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Start Docker Compose
- name: Start Docker Compose
run: docker-compose up -d
- name: Install cargo tarpaulin
uses: taiki-e/install-action@cargo-tarpaulin
- name: Generate code coverage
run: |
cargo tarpaulin --verbose --all-features --workspace --timeout 120 --out xml
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/coverage.yml

This file was deleted.

15 changes: 7 additions & 8 deletions .github/workflows/coverage2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,24 @@ jobs:
- name: Install Rust
run: rustup update stable
# Cache dependencies and build artifacts
- name: Cache build artifacts and dependencies
uses: actions/cache@v2
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/cache-cargo-install-action@v1
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
tool: sqlx-cli
- uses: actions-rs/cargo@v1
with:
command: build
env:
SQLX_VERSION: 0.6.0
SQLX_OFFLINE: true
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov --no-clean --all-features --frozen --lcov --output-path lcov.info
env:
SQLX_OFFLINE: true # needed to keep it from trying to connect to a database
SQLX_VERSION: 0.6.0
SQLX_OFFLINE: true

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit 281927a

Please sign in to comment.