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
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,34 @@ jobs:

- name: Run tests
run: pytest --cov=. --cov-report html --cov-report term --cov-fail-under=25
conda-build:
name: Conda build check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v3
with:
auto-activate-base: true
activate-environment: true
python-version: 3.13

- name: Install conda tools
run: conda install -y conda-build anaconda-client

- name: Extract version from pyproject.toml
id: extract_version
working-directory: .
run: |
VERSION=$(awk -F\" '/^version =/ { print $2; exit }' pyproject.toml)
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "Extracted version: $VERSION"

- name: Dry-run conda build
shell: bash -l {0}
working-directory: recipe
env:
VERSION: ${{ env.VERSION }}
run: |
conda build . --channel conda-forge --channel bioconda
Loading