Skip to content

Commit 16c3386

Browse files
committed
Move conda package CI build to main workflow
1 parent 074577b commit 16c3386

File tree

3 files changed

+25
-42
lines changed

3 files changed

+25
-42
lines changed

.github/workflows/ci.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,30 @@ jobs:
3030
shell: bash -l {0}
3131
run: unzip -l dist/*.whl | grep -q py.typed
3232

33+
build_conda:
34+
runs-on: ubuntu-latest
35+
timeout-minutes: 20
36+
needs: ['build']
37+
continue-on-error: true
38+
39+
if: startsWith(github.head_ref, 'release-')
40+
41+
steps:
42+
- uses: actions/checkout@v3
43+
- uses: actions/checkout@v3
44+
with:
45+
repository: conda-forge/emsarray-feedstock
46+
path: emsarray-feedstock
47+
48+
- uses: ./.github/actions/environment
49+
with:
50+
python-version: ${{ env.python-version }}
51+
package-artifact-name: ${{ needs.build.outputs.artifact-name }}
52+
53+
- run: |
54+
conda install conda-build
55+
./scripts/build-local-conda-package.sh
56+
3357
test:
3458
name: python ${{ matrix.python-version }}, ${{ matrix.experimental && 'latest' || 'pinned' }} dependencies
3559
runs-on: ubuntu-latest

.github/workflows/release-branch.yaml

Lines changed: 0 additions & 40 deletions
This file was deleted.

docs/internal/releasing.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ Push this branch and make a pull request on Github.
2525
2626
$ ./scripts/release.py pre 1.2.0
2727
28-
Manually run the 'Prerelease checks' workflow for this branch in the 'Actions' tab on Github.
29-
This will check that a conda package can be built from the Python package tarball.
28+
Merge this pull request once all the CI tests pass.
3029

3130
Build and publish packages
3231
==========================

0 commit comments

Comments
 (0)