From f044510c7a7cf61219c95b3e01be89f21fa7c9d7 Mon Sep 17 00:00:00 2001 From: Sean Bryan Date: Fri, 27 Oct 2023 16:54:52 +1100 Subject: [PATCH] Add workflow running conda build This change adds a GitHub action that tests the we can build 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 --- .github/workflows/ci.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dae5a6aa..0f566485 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,4 +28,17 @@ jobs: uses: codecov/codecov-action@v3 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - files: ./coverage.xml \ No newline at end of file + files: ./coverage.xml + + build_conda_package: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: conda-incubator/setup-miniconda@v2 + with: + python-version: '3.9' + - name: Test conda build + run: | + conda build -c conda-forge . \ No newline at end of file