-
Notifications
You must be signed in to change notification settings - Fork 62
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 #471 from spacetelescope/develop-0.9.2
Release 0.9.2
- Loading branch information
Showing
9 changed files
with
405 additions
and
108 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,76 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
tests: | ||
name: ${{ matrix.name }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
|
||
- name: Coverage test in Python 3 | ||
os: ubuntu-latest | ||
python: 3.8 | ||
toxenv: py38-poppydev-pysiafdev-cov | ||
|
||
- name: Check for Sphinx doc build errors | ||
os: ubuntu-latest | ||
python: 3.8 | ||
toxenv: docbuild | ||
|
||
- name: Try Astropy development version | ||
os: ubuntu-latest | ||
python: 3.8 | ||
toxenv: py38-astropydev-test | ||
|
||
- name: Try minimum supported versions | ||
os: ubuntu-latest | ||
python: 3.6 | ||
toxenv: py36-legacy36-test | ||
|
||
- name: Try released POPPY and PySIAF | ||
os: ubuntu-latest | ||
python: 3.7 | ||
toxenv: py37-stable-test | ||
continue-on-error: 'true' | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Python ${{ matrix.python }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
|
||
- name: Install Python dependencies | ||
run: pip install tox tox-conda>=0.2 | ||
|
||
- name: Get WebbPSF Data | ||
run: | # Get WebbPSF data files (just a subset of the full 250 MB!) and set up environment variable | ||
wget https://stsci.box.com/shared/static/r7k2m3ruxb7a7a7t172epr4kq5ibmo78.gz -O /tmp/minimal-webbpsf-data.tar.gz | ||
tar -xzvf /tmp/minimal-webbpsf-data.tar.gz | ||
echo "WEBBPSF_PATH=${{github.workspace}}/webbpsf-data" >> $GITHUB_ENV | ||
- name: Check conda info | ||
run: conda info | ||
|
||
- name: Run tests | ||
if: matrix.continue-on-error == null | ||
run: tox -e ${{ matrix.toxenv }} | ||
|
||
- name: Run tests and allow failures | ||
if: matrix.continue-on-error | ||
continue-on-error: true | ||
run: tox -e ${{ matrix.toxenv }} | ||
|
||
- name: Upload coverage to codecov | ||
if: ${{ contains(matrix.toxenv,'-cov') }} | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
file: ./coverage.xml |
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,26 @@ | ||
name: Publish to PyPI | ||
|
||
on: | ||
release: | ||
types: [released] | ||
|
||
jobs: | ||
build: | ||
name: Publish release to PyPI | ||
env: | ||
PYPI_USERNAME_STSCI_MAINTAINER: ${{ secrets.PYPI_USERNAME_STSCI_MAINTAINER }} | ||
PYPI_PASSWORD_STSCI_MAINTAINER: ${{ secrets.PYPI_PASSWORD_STSCI_MAINTAINER }} | ||
PYPI_USERNAME_OVERRIDE: ${{ secrets.PYPI_USERNAME_OVERRIDE }} | ||
PYPI_PASSWORD_OVERRIDE: ${{ secrets.PYPI_PASSWORD_OVERRIDE }} | ||
PYPI_TEST: ${{ secrets.PYPI_TEST }} | ||
INDEX_URL_OVERRIDE: ${{ secrets.INDEX_URL_OVERRIDE }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
# Check out the commit containing this workflow file. | ||
- name: checkout repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: custom action | ||
uses: spacetelescope/action-publish_to_pypi@master | ||
id: custom_action_0 |
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
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
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
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
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
Oops, something went wrong.