Skip to content

build(deps): update plotly requirement from 0.9.0 to 0.10.0 #114

build(deps): update plotly requirement from 0.9.0 to 0.10.0

build(deps): update plotly requirement from 0.9.0 to 0.10.0 #114

Workflow file for this run

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 }}