Code Monkey home page Code Monkey logo

demes-rs's Introduction

demes-rs

CI tests

rust tools for the demes specification.

This repository contains the following rust crates:

Developer information

Cloning the repository and running the test suite

git clone https://github.com/molpopgen/demes-rs --recurse-submodules
cd demes-rs
cargo test

To clone using gh,

gh clone molpopgen/demes-rs -- --recurse-submodules

Pull requests

  • Pull requests should be rebased down to one commit.
  • Commit messages for CHANGELOGs should be conventional.
  • We strongly suggest running semver checks locally. While we run these upon merge into main, it is better to know ahead of time if a PR breaks API. It is even better to avoid API breakage altogether!
cargo install cargo-semver-checks
cargo semver-checks check-release

Generating CHANGELOG updates

  • We use git-cliff
  • To update a CHANGELOG for a given crate, use include paths. For example:
git cliff -u --include-path "demes/**" --tag v0.4.0 -p demes/CHANGELOG.md

The configuration file for cliff is present in the workspace root.

Tagging a release

Any new release of any tool should have the following name:

tool-version

For example:

demes-forward-0.6.0

Viewing the documentation locally

cargo doc --open

Calculating code coverage

First, install tarpaulin:

cargo install cargo-tarpaulin

Then,

cargo tarpaulin --tests --ignore-tests -o html

Finally, open tarpaulin-report.html with your favorite browser.

demes-rs's People

Contributors

alxsimon avatar dependabot[bot] avatar molpopgen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.