Skip to content

Migrate CI workflow from apt-get to conda/miniforge#624

Merged
tseemann merged 4 commits into
masterfrom
copilot/create-ci-workflow-conda
Dec 8, 2025
Merged

Migrate CI workflow from apt-get to conda/miniforge#624
tseemann merged 4 commits into
masterfrom
copilot/create-ci-workflow-conda

Conversation

Copilot AI commented Dec 8, 2025

Copy link
Copy Markdown
Contributor

The CI workflow was using apt-get to install dependencies, which provided limited versions and missing packages. This migrates to conda/miniforge for better bioinformatics tooling support.

Changes

  • Setup conda environment: Added conda-incubator/setup-miniconda@v3 with miniforge, using conda-forge and bioconda channels with strict priority
  • Install all dependencies via conda: Replaced apt-get with conda install for samtools, bcftools, freebayes, bedtools, bwa, minimap2, parallel, vcflib, vt, snpeff, seqtk, snp-sites, wgsim, any2fasta, perl-bioperl, and samclip
  • Shell configuration: Added shell: bash -el {0} to all steps to ensure conda environment activation
- 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: |
    conda install -y \
      samtools bcftools freebayes bedtools \
      bwa minimap2 parallel vcflib vt snpeff \
      seqtk snp-sites wgsim any2fasta \
      perl-bioperl samclip
Original prompt

This section details on the original issue you should resolve

<issue_title>Create a CI workflow using conda</issue_title>
<issue_description>Please fix the CI workflow
It should enable conda and miniforge
And install samtools, bcftools, freebayes, etc
</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits December 8, 2025 22:05
Co-authored-by: tseemann <453972+tseemann@users.noreply.github.com>
Co-authored-by: tseemann <453972+tseemann@users.noreply.github.com>
Co-authored-by: tseemann <453972+tseemann@users.noreply.github.com>
Copilot AI changed the title [WIP] Create CI workflow using conda and install required tools Migrate CI workflow from apt-get to conda/miniforge Dec 8, 2025
Copilot AI requested a review from tseemann December 8, 2025 22:09
@tseemann tseemann marked this pull request as ready for review December 8, 2025 22:14
@tseemann tseemann merged commit c4d42b6 into master Dec 8, 2025
0 of 3 checks passed
@tseemann tseemann deleted the copilot/create-ci-workflow-conda branch December 8, 2025 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a CI workflow using conda

2 participants