From c35fc7f0ae3a37bac5fc7595ba2bd9d23fd689f2 Mon Sep 17 00:00:00 2001 From: joshburt Date: Tue, 20 Aug 2024 12:43:21 -0700 Subject: [PATCH] update build context --- .github/workflows/pull-request.yml | 3 ++- .github/workflows/python-publish.yml | 3 ++- anaconda-project.yml | 11 ----------- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 05dbf7c..5404918 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -54,7 +54,8 @@ jobs: anaconda-project run coverage xml - name: Build Conda Package run: | - anaconda-project run build + mkdir build + conda build conda-recipe --no-anaconda-upload --no-test --output-folder build - name: Publish Conda Package (Dev Build) env: ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }} diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 3360790..da1def9 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -42,7 +42,8 @@ jobs: anaconda-project run coverage xml - name: Build Conda Package run: | - anaconda-project run build + mkdir build + conda build conda-recipe --no-anaconda-upload --no-test --output-folder build - name: Publish Conda Package env: ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }} diff --git a/anaconda-project.yml b/anaconda-project.yml index c2d0bc8..c070a67 100644 --- a/anaconda-project.yml +++ b/anaconda-project.yml @@ -31,13 +31,6 @@ commands: git clone test/fixtures/git_remote test/fixtures/consumer python -m test.unit.setup - build: - env_spec: default - unix: | - anaconda-project run clean - mkdir build - conda build conda-recipe --no-anaconda-upload --no-test --output-folder build - build:apidocs: env_spec: default unix: | @@ -89,10 +82,6 @@ env_specs: # Project Maintenance and Development - defaults:anaconda-project - - defaults:conda-build - - defaults:conda-verify - - defaults:setuptools - - defaults:anaconda-client - defaults:isort - defaults:pylint - defaults:black