File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141
4242 - name : Run tests
4343 run : pytest --cov=. --cov-report html --cov-report term --cov-fail-under=25
44+ conda-build :
45+ name : Conda build check
46+ runs-on : ubuntu-latest
47+ steps :
48+ - uses : actions/checkout@v4
49+
50+ - name : Setup Miniconda
51+ uses : conda-incubator/setup-miniconda@v3
52+ with :
53+ auto-activate-base : true
54+ activate-environment : true
55+ python-version : 3.13
56+
57+ - name : Install conda tools
58+ run : conda install -y conda-build anaconda-client
59+
60+ - name : Extract version from pyproject.toml
61+ id : extract_version
62+ working-directory : .
63+ run : |
64+ VERSION=$(awk -F\" '/^version =/ { print $2; exit }' pyproject.toml)
65+ echo "VERSION=$VERSION" >> $GITHUB_ENV
66+ echo "Extracted version: $VERSION"
67+
68+ - name : Dry-run conda build
69+ shell : bash -l {0}
70+ working-directory : recipe
71+ env :
72+ VERSION : ${{ env.VERSION }}
73+ run : |
74+ conda build . --channel conda-forge --channel bioconda
You can’t perform that action at this time.
0 commit comments