Skip to content

ZeroTriePerfectHash: Increase bounds of p for newly found hard case (… #11336

ZeroTriePerfectHash: Increase bounds of p for newly found hard case (…

ZeroTriePerfectHash: Increase bounds of p for newly found hard case (… #11336

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@grcov
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-12-26
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/grcov@v0.1
- name: Push grcov results to Coveralls via GitHub Action
uses: coverallsapp/github-action@v2.2.1
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
with:
file: ${{ steps.coverage.outputs.report }}
fail_ci_if_error: true