amend #7
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: release_test1 | |
on: | |
push: | |
paths: | |
- '*' | |
env: | |
ASSCOM2_PROFILE: "profile/conda/local" | |
jobs: | |
create-env: | |
name: ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash -l {0} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v2 | |
- name: create environment with mamba | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
mamba-version: "*" | |
channels: conda-forge,bioconda,defaults | |
auto-activate-base: false | |
activate-environment: asscom2 | |
environment-file: bioconda.yaml | |
- name: check solution | |
run: | | |
mamba env export | |
- name: test installation | |
run: | | |
which asscom2 | |
asscom2 --version | |
asscom2 --help | |
- name: dry run | |
run: | | |
asscom2 --config input_genomes="tests/E._faecium/*.fna" --dry-run | |
- name: setup conda envs and copy | |
run: | | |
asscom2 --config input_genomes="tests/E._faecium/*.fna" --until copy | |
- name: fast | |
run: | | |
asscom2 --config input_genomes="tests/E._faecium/*.fna" --until fast | |
- name: meta | |
run: | | |
asscom2 --config input_genomes="tests/E._faecium/*.fna" --until meta | |
- name: full | |
run: | | |
asscom2 --config input_genomes="tests/E._faecium/*.fna" | |