Remove py313 windows. (#432) #119
This file contains 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: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./safetensors | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust Stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
components: llvm-tools-preview | |
override: true | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install cargo-llvm-cov for Ubuntu | |
run: cargo install cargo-llvm-cov | |
- name: Coverage report | |
run: cargo llvm-cov --release --lcov --output-path lcov.info | |
- name: Upload to codecov.io | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos | |
working-directory: ./safetensors | |
fail_ci_if_error: true |