Skip to content

Commit 50f36b2

Browse files
committed
Template GH releases and use openastronomy templates
1 parent 3b44614 commit 50f36b2

File tree

4 files changed

+61
-176
lines changed

4 files changed

+61
-176
lines changed

.github/release.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# .github/release.yml
2+
3+
changelog:
4+
exclude:
5+
labels:
6+
- ignore-for-release-notes
7+
authors:
8+
- pre-commit-ci
9+
categories:
10+
- title: Fixes
11+
labels:
12+
- bug
13+
- title: Exciting New Features 🎉
14+
labels:
15+
- enhancement
16+
- title: Other Changes
17+
labels:
18+
- "*"

.github/workflows/python-package.yml

Lines changed: 0 additions & 70 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 0 additions & 106 deletions
This file was deleted.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
tags:
8+
- 'v*'
9+
- '!*dev*'
10+
- '!*pre*'
11+
- '!*post*'
12+
pull_request:
13+
# Allow manual runs through the web UI
14+
workflow_dispatch:
15+
16+
jobs:
17+
test:
18+
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
19+
with:
20+
envs: |
21+
# Test the oldest and newest configuration on Mac and Windows
22+
- macos: py36-test-mpl20
23+
- macos: py310-test-mpl35
24+
- windows: py36-test-mpl20
25+
- windows: py310-test-mpl35
26+
# Test all configurations on Linux
27+
- linux: py36-test-mpl20
28+
- linux: py36-test-mpl21
29+
- linux: py36-test-mpl22
30+
- linux: py37-test-mpl30
31+
- linux: py37-test-mpl31
32+
- linux: py37-test-mpl32
33+
- linux: py38-test-mpl33
34+
- linux: py39-test-mpl34
35+
- linux: py310-test-mpl35
36+
coverage: 'codecov'
37+
38+
publish:
39+
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
40+
with:
41+
test_command: pytest tests; pytest tests --mpl
42+
secrets:
43+
pypi_token: ${{ secrets.pypi_password }}

0 commit comments

Comments
 (0)