ci(release): v0.4.0 #32
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: Test | |
on: push | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
container: | |
image: xd009642/tarpaulin | |
# https://github.com/xd009642/tarpaulin#github-actions | |
options: --security-opt seccomp=unconfined | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.76.0 | |
- name: Run tests (with coverage) | |
run: make test-cover | |
env: | |
MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }} | |
- name: Upload tests coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
fail_ci_if_error: true | |
token: ${{ secrets.CODECOV_TOKEN }} |