Skip to content

Remove implicit LocaleFallbackProvider constructors (#5183) #101

Remove implicit LocaleFallbackProvider constructors (#5183)

Remove implicit LocaleFallbackProvider constructors (#5183) #101

Workflow file for this run

# This file is part of ICU4X. For terms of use, please see the file
# called LICENSE at the top level of the ICU4X source tree
# (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).
name: Coverage
on:
push:
branches: [ main ]
jobs:
test:
name: Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
## Coverage steps
- name: Install grcov
uses: taiki-e/install-action@v2
with:
tool: grcov
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-08-08
override: true
- run: cargo test --all-features --no-fail-fast
env:
CARGO_INCREMENTAL: '0'
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests'
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests'
- id: coverage
uses: actions-rs/[email protected]
- name: Push grcov results to Coveralls via GitHub Action
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ steps.coverage.outputs.report }}
- name: Push grcov results to Codecov via GitHub Action
uses: codecov/codecov-action@v3
# TODO(#2701): Update and re-enable this job.
if: false
with:
file: ${{ steps.coverage.outputs.report }}
fail_ci_if_error: true