MRG: add utility functions for zip reading; use in index, multisearch #91
Workflow file for this run
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: "maturin build" | |
on: | |
pull_request: | |
push: | |
branches: [latest] | |
jobs: | |
mamba: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install latest stable rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
components: rustfmt, clippy | |
- name: cache rust | |
uses: Swatinem/rust-cache@v2 | |
- name: cache conda | |
uses: actions/cache@v3 | |
env: | |
CACHE_NUMBER: 0 | |
with: | |
path: ~/conda_pkgs_dir | |
key: | |
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }} | |
- name: setup conda | |
uses: conda-incubator/setup-miniconda@3b0f2504dd76ef23b6d31f291f4913fb60ab5ff3 | |
with: | |
auto-update-conda: true | |
python-version: 3.9 | |
channels: conda-forge,bioconda | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: true | |
mamba-version: "*" | |
activate-environment: sourmash_dev | |
auto-activate-base: false | |
use-only-tar-bz2: true | |
- name: install dependencies | |
shell: bash -l {0} | |
run: mamba install git compilers maturin pytest pandas | |
- name: build | |
shell: bash -l {0} | |
run: make | |
- name: test | |
shell: bash -l {0} | |
run: pytest |