-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #144 from Cadair/changelog_template
Template GH releases and use openastronomy templates
- Loading branch information
Showing
5 changed files
with
66 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# .github/release.yml | ||
|
||
changelog: | ||
exclude: | ||
labels: | ||
- ignore-for-release-notes | ||
authors: | ||
- pre-commit-ci[bot] | ||
categories: | ||
- title: Fixes | ||
labels: | ||
- bug | ||
- title: Exciting New Features 🎉 | ||
labels: | ||
- enhancement | ||
- title: Other Changes | ||
labels: | ||
- "*" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
tags: | ||
- 'v*' | ||
- '!*dev*' | ||
- '!*pre*' | ||
- '!*post*' | ||
pull_request: | ||
# Allow manual runs through the web UI | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1 | ||
with: | ||
envs: | | ||
# Test the oldest and newest configuration on Mac and Windows | ||
- macos: py36-test-mpl20 | ||
- macos: py310-test-mpl35 | ||
- windows: py36-test-mpl20 | ||
- windows: py310-test-mpl35 | ||
# Test all configurations on Linux | ||
- linux: py36-test-mpl20 | ||
- linux: py36-test-mpl21 | ||
- linux: py36-test-mpl22 | ||
- linux: py37-test-mpl30 | ||
- linux: py37-test-mpl31 | ||
- linux: py37-test-mpl32 | ||
- linux: py38-test-mpl33 | ||
- linux: py39-test-mpl34 | ||
- linux: py310-test-mpl35 | ||
coverage: 'codecov' | ||
|
||
publish: | ||
if: github.event_name != 'pull_request' | ||
needs: [test] | ||
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1 | ||
with: | ||
test_command: pytest $GITHUB_WORKSPACE/tests; pytest --mpl $GITHUB_WORKSPACE/tests | ||
secrets: | ||
pypi_token: ${{ secrets.pypi_password }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters