Skip to content

Refactored GitHub Actions configuration to use OpenAstronomy workflows #109

Refactored GitHub Actions configuration to use OpenAstronomy workflows

Refactored GitHub Actions configuration to use OpenAstronomy workflows #109

Workflow file for this run

name: Run unit tests
on:
push:
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
# tests:
# uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
# with:
# envs: |
# - windows: py39-test-numpy122
# - linux: py310-test-numpy124
# - macos: py311-test-astropy53
# - linux: py312-test
# - linux: codestyle
# coverage: 'codecov'
publish:
# needs: tests
uses: astrofrog/github-actions-workflows/.github/workflows/publish.yml@mac-images
with:
test_extras: test
test_command: pytest -p no:warnings --pyargs astroscrappy
targets: |
# - cp*-manylinux_x86_64
# - cp*-manylinux_aarch64
- cp*-macosx_x86_64
- cp*-macosx_arm64
# - cp*-win_amd64
secrets:
pypi_token: ${{ secrets.pypi_token }}
anaconda_token: ${{ secrets.anaconda_token }}