Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,38 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Miniforge
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-version: latest
activate-environment: snippy-env
channels: conda-forge,bioconda
channel-priority: strict

- name: Install Dependencies
shell: bash -el {0}
run: |
sudo apt-get update
sudo apt-get install -y libstdc++6 liblzma5 libbz2-1.0 bioperl samtools freebayes bcftools
conda install -y \
samtools bcftools freebayes bedtools \
bwa minimap2 parallel vcflib vt snpeff \
seqtk snp-sites wgsim any2fasta \
perl-bioperl samclip

- name: Add binaries to PATH
shell: bash -el {0}
run: |
echo "$PWD/bin:$PWD/binaries/noarch:$PWD/binaries/linux" >> $GITHUB_PATH

- name: Check snippy versions and configurations
shell: bash -el {0}
run: |
snippy --version
snippy --check
snippy-core --version
snippy-core --check

- name: Run tests
shell: bash -el {0}
run: |
make -C test

Loading