Skip to content

Update Rust crate serde to 1.0.188 - autoclosed #79

Update Rust crate serde to 1.0.188 - autoclosed

Update Rust crate serde to 1.0.188 - autoclosed #79

Workflow file for this run

# Copyright (c) 2022 Tony Barbitta
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Source: https://github.com/taiki-e/cargo-llvm-cov#continuous-integration
name: Coverage (Coveralls & Codecov)
on: [pull_request, push]
jobs:
coverage:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
# - ubuntu-latest
# - macOS-latest
- windows-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
components: llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- name: Codecov upload
uses: codecov/codecov-action@v3
with:
# token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
token: ${{ secrets.CODECOV_TOKEN }}
files: ./lcov.info
fail_ci_if_error: false
- name: Coveralls upload
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./lcov.info