File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Release
22
33on :
4- pull_request :
4+ workflow_dispatch :
55 release :
66 types : [released]
77
1414 name : Build and publish Python 🐍 distributions 📦 to PyPI
1515 runs-on : ubuntu-latest
1616 if : github.repository == 'spacetelescope/stsynphot_refactor'
17+ environment :
18+ name : release
19+ url : https://pypi.org/p/stsynphot
20+ permissions :
21+ id-token : write # IMPORTANT: mandatory for trusted publishing
1722
1823 steps :
1924 - uses : actions/checkout@v4
2227
2328 - uses : actions/setup-python@v4
2429 with :
25- python-version : ' 3.10 '
30+ python-version : ' 3.x '
2631
2732 - name : Install python-build and twine
2833 run : python -m pip install build "twine>=3.3"
4348 testenv/bin/pip install pytest-astropy ci-watson stsynphot_refactor/dist/*.whl
4449 testenv/bin/python -c "import stsynphot; stsynphot.test()"
4550
46- # FOR DEBUGGING ONLY: repository_url (TestPyPI) and verbose;
47- # Use appropriate token if debugging with TestPyPI
4851 - name : Publish distribution 📦 to PyPI
4952 if : github.event_name == 'release'
5053 uses : pypa/gh-action-pypi-publish@release/v1
51- with :
52- user : __token__
53- password : ${{ secrets.PYPI_TOKEN }}
54- # repository_url: https://test.pypi.org/legacy/
55- # verbose: true
Original file line number Diff line number Diff line change 1- 1.3.0 (unreleased )
1+ 1.3.0 (2023-11-28 )
22==================
33
44- Compatibility with ``numpy `` 2.0. [#181]
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ stsynphot
1313 :target: https://stsynphot.readthedocs.io/en/latest/?badge=latest
1414 :alt: Documentation Status
1515
16- .. image :: https://github.com/spacetelescope/stsynphot_refactor/workflows/CI /badge.svg
17- :target: https://github.com/spacetelescope/stsynphot_refactor/actions
16+ .. image :: https://github.com/spacetelescope/stsynphot_refactor/actions/ workflows/ci_workflows.yml /badge.svg?branch=master
17+ :target: https://github.com/spacetelescope/stsynphot_refactor/actions/workflows/ci_workflows.yml
1818 :alt: Github Actions CI Status
1919
2020.. image :: https://codecov.io/gh/spacetelescope/stsynphot_refactor/branch/master/graph/badge.svg
You can’t perform that action at this time.
0 commit comments