docs: fix ISO 10383 constants docs #151
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 Report. | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
code_coverage_report: | |
runs-on: ubuntu-latest | |
# container: | |
# image: xd009642/tarpaulin:latest | |
# options: --security-opt seccomp=unconfined | |
steps: | |
- uses: actions/checkout@v4 | |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
# INSTALL TARPALUIN FOR CODE COVERAGE | |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
- name: Install Tarpaulin. | |
run: cargo install cargo-tarpaulin | |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
# GENERATE CODE COVERAGE REPORT | |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
- name: Generate code coverage report. | |
run: | |
cargo tarpaulin | |
--verbose | |
--all-features | |
--workspace | |
--timeout 120 | |
--out Xml | |
--exclude-files src/lib.rs src/trading/* src/interactive/* | |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
# UPLOAD CODE COVERAGE REPORT TO CODECOV.IO | |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
- name: Upload coverage reports to Codecov.io | |
uses: codecov/codecov-action@v4 | |
with: | |
fail_ci_if_error: true | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |