Skip to content

feat: Add UPGMA, Neighbor-Joining, and RF-distance to cli tool #749

feat: Add UPGMA, Neighbor-Joining, and RF-distance to cli tool

feat: Add UPGMA, Neighbor-Joining, and RF-distance to cli tool #749

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
Formatting:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt
- name: Check format
run: cargo fmt -- --check
Linting:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: clippy
- name: Lint with clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
Testing:
needs: Formatting
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: Swatinem/[email protected]
- name: Install system dependencies
run: |
sudo apt-get install --yes libgsl0-dev
- name: Install test dependencies
run: |
export PATH="/usr/share/miniconda/bin:$PATH"
conda create -c bioconda -c conda-forge -n dependencies starcode bcftools
- name: Run cargo test
run: |
export PATH="/usr/share/miniconda/bin:$PATH"
source activate dependencies
cargo test -- --test-threads=1