refactor io_uring impls #166
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Code Coverage | |
| on: | |
| push: | |
| paths-ignore: | |
| - '**.md' | |
| - '**.png' | |
| pull_request: | |
| paths-ignore: | |
| - '**.md' | |
| - '**.png' | |
| env: | |
| CARGO_TERM_COLOR: always | |
| CODECOV_TOKEN: 86ae569f-70d3-4c7b-833e-6e8fc97ea9f3 | |
| jobs: | |
| coverage: | |
| name: Run cargo coverage on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - name: Install toolchain | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: ${{ matrix.channel }} | |
| profile: minimal | |
| override: true | |
| components: llvm-tools-preview | |
| - name: Install cargo-llvm-cov | |
| uses: taiki-e/install-action@cargo-llvm-cov | |
| - name: Generate code coverage | |
| run: bash -c "ulimit -Sl 512 && ulimit -Hl 512 && /home/runner/.cargo/bin/cargo llvm-cov --release --all --lcov --output-path lcov.info" | |
| - name: Generate code coverage with all features | |
| run: bash -c "ulimit -Sl 512 && ulimit -Hl 512 && /home/runner/.cargo/bin/cargo llvm-cov --all-features --release --all --lcov --output-path lcov-all-features.info" | |
| - name: Upload coverage to Codecov | |
| run: | | |
| bash <(curl -s https://codecov.io/bash) -f lcov.info -t ${{ env.CODECOV_TOKEN }} | |
| bash <(curl -s https://codecov.io/bash) -f lcov-all-features.info -t ${{ env.CODECOV_TOKEN }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| channel: [ 1.81.0 ] | |
| include: | |
| - os: ubuntu-latest | |
| cargo: /home/runner/.cargo/bin/cargo | |
| - os: macos-latest | |
| cargo: /Users/runner/.cargo/bin/cargo |