Skip to content

Commit

Permalink
Add workflow running conda build
Browse files Browse the repository at this point in the history
This change adds a GitHub action that builds the benchcab package via
the `conda build` command. This verifies we can still build the package
in case we make changes to .conda/meta.yaml.

Fixes #173
  • Loading branch information
SeanBryan51 committed Oct 27, 2023
1 parent bee8352 commit 0ea9a62
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,20 @@ jobs:
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
files: ./coverage.xml

build_conda_package:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: '3.9'
- name: Test conda build
run: |
conda install conda-build
conda build -c conda-forge .

0 comments on commit 0ea9a62

Please sign in to comment.