mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-23 23:51:06 +01:00
disable coverage for now
This commit is contained in:
parent
25d3d34927
commit
50fe96f278
66
.github/workflows/coverage.yml
vendored
66
.github/workflows/coverage.yml
vendored
@ -1,40 +1,40 @@
|
|||||||
name: Coverage
|
# name: Coverage
|
||||||
|
|
||||||
on:
|
# on:
|
||||||
push:
|
# push:
|
||||||
branches: [master]
|
# branches: [master]
|
||||||
|
|
||||||
jobs:
|
# jobs:
|
||||||
coverage:
|
# coverage:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
|
|
||||||
services:
|
# services:
|
||||||
redis:
|
# redis:
|
||||||
image: redis:5.0.7
|
# image: redis:5.0.7
|
||||||
ports:
|
# ports:
|
||||||
- 6379:6379
|
# - 6379:6379
|
||||||
options: --entrypoint redis-server
|
# options: --entrypoint redis-server
|
||||||
|
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install stable
|
# - name: Install stable
|
||||||
uses: actions-rs/toolchain@v1
|
# uses: actions-rs/toolchain@v1
|
||||||
with:
|
# with:
|
||||||
toolchain: stable-x86_64-unknown-linux-gnu
|
# toolchain: stable-x86_64-unknown-linux-gnu
|
||||||
profile: minimal
|
# profile: minimal
|
||||||
override: true
|
# override: true
|
||||||
|
|
||||||
- name: Generate Cargo.lock
|
# - name: Generate Cargo.lock
|
||||||
uses: actions-rs/cargo@v1
|
# uses: actions-rs/cargo@v1
|
||||||
with: { command: generate-lockfile }
|
# with: { command: generate-lockfile }
|
||||||
- name: Cache Dependencies
|
# - name: Cache Dependencies
|
||||||
uses: Swatinem/rust-cache@v1.2.0
|
# uses: Swatinem/rust-cache@v1.2.0
|
||||||
|
|
||||||
- name: Generate coverage file
|
# - name: Generate coverage file
|
||||||
run: |
|
# run: |
|
||||||
cargo install cargo-tarpaulin --vers "^0.13"
|
# cargo install cargo-tarpaulin --vers "^0.13"
|
||||||
cargo tarpaulin --workspace --out Xml --verbose
|
# cargo tarpaulin --workspace --out Xml --verbose
|
||||||
- name: Upload to Codecov
|
# - name: Upload to Codecov
|
||||||
uses: codecov/codecov-action@v1
|
# uses: codecov/codecov-action@v1
|
||||||
with: { file: cobertura.xml }
|
# with: { file: cobertura.xml }
|
||||||
|
Loading…
Reference in New Issue
Block a user