Skip to content

perf: improve compute_probability_of_success algorithm #38

perf: improve compute_probability_of_success algorithm

perf: improve compute_probability_of_success algorithm #38

Workflow file for this run

name: Build and Test
on:
push:
workflow_dispatch:
jobs:
fmt-lint-build-test:
runs-on: ubuntu-latest
env:
DATABASE_URL: sqlite://${{ github.workspace }}/examples/universe.db
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Formatting
run: cargo fmt --check
- name: Linting
run: cargo clippy -- -D warnings
- name: Build dev
run: cargo build
- name: Test dev
run: cargo test
- name: Build release
run: cargo build --release
- name: Test release
run: cargo test --release
- name: Install code coverage tool
run: cargo install cargo-tarpaulin
- name: Generate code coverage
run: cargo tarpaulin --out Html
- name: Archive code coverage results
uses: actions/upload-artifact@v1
with:
name: code-coverage-report
path: tarpaulin-report.html