Skip to content

Commit

Permalink
Merge pull request #7396 from nabobalis/wheel
Browse files Browse the repository at this point in the history
add wheel upload to anaconda sunpy channel
  • Loading branch information
nabobalis committed Jan 25, 2024
2 parents e8cbc5b + b00d769 commit 64c9a5e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ jobs:
needs: [test]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@main
with:
upload_to_anaconda: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}
anaconda_user: sunpy
anaconda_package: sunpy
anaconda_keep_n_latest: -1
sdist: false
test_extras: 'tests'
test_command: 'pytest -p no:warnings --doctest-rst -m "not mpl_image_compare" --pyargs sunpy'
Expand All @@ -184,11 +188,16 @@ jobs:
- cp3{9,10,11,12}-macosx_arm64
secrets:
pypi_token: ${{ secrets.pypi_token }}
anaconda_token: ${{ secrets.anaconda_token }}

publish_pure:
needs: [publish]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@main
with:
upload_to_anaconda: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}
anaconda_user: sunpy
anaconda_package: sunpy
anaconda_keep_n_latest: -1
python-version: "3.10"
test_extras: 'tests'
test_command: 'pytest -p no:warnings --doctest-rst -m "not mpl_image_compare" --pyargs sunpy'
Expand All @@ -197,6 +206,7 @@ jobs:
SUNPY_NO_BUILD_ANA_EXTENSION: 1
secrets:
pypi_token: ${{ secrets.pypi_token }}
anaconda_token: ${{ secrets.anaconda_token }}

notify:
if: always() && github.event_name == 'workflow_dispatch'
Expand Down

0 comments on commit 64c9a5e

Please sign in to comment.