-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge in HYP/hypernetx from release/2.3.2 to master * commit '21b0f6bf044df4138b42fc995653a47e77847f6a': bump: version 2.3.1 → 2.3.2 Fix typos in documentation Fix readthdocs script; update publish to pypi workflow Modify documentation CI workflow Modify constraint python version Remove CI scripts from Makefile, Readme Remove celluloid, igraph from requirements.txt Make decorator dependency loosely constrained Remove poetry.lock Update github workflow
- Loading branch information
Showing
14 changed files
with
102 additions
and
4,493 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
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 |
---|---|---|
@@ -1,12 +1,14 @@ | ||
# This workflow will upload a Python Package using Twine when a release is created | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries | ||
# This workflow uses the Github Action, poetry-publish. | ||
# It will build the HNX package into a wheel and sdist and then publish those artifacts to TestPyPi and PyPi using poetry. | ||
# Documentation for this action is at: https://github.com/marketplace/actions/publish-python-poetry-package | ||
# For building and publishing to PyPi in Github Workflows, see https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries | ||
|
||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
|
||
name: Upload Python Package | ||
name: Publish HNX | ||
|
||
on: | ||
release: | ||
|
@@ -22,23 +24,27 @@ permissions: | |
contents: read | ||
|
||
jobs: | ||
deploy: | ||
publish-to-pypi: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- run: | | ||
echo "This workflow was triggered by: $TRIGGER_PERSON" | ||
env: | ||
TRIGGER_PERSON: ${{ inputs.triggeredBy }} | ||
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." | ||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" | ||
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | ||
- run: echo "Building wheel from tag ${{ github.ref_name }}" | ||
- run: echo "Building wheel from branch ${{ github.ref_name }}" | ||
|
||
- uses: actions/checkout@v4 | ||
|
||
# - name: Build and publish distribution 📦 to Test PyPI | ||
# uses: JRubics/[email protected] | ||
# with: | ||
# python_version: "3.11" | ||
# pypi_token: ${{ secrets.TEST_PYPI_API_TOKEN }} | ||
# repository_name: "testpypi" | ||
# repository_url: "https://test.pypi.org/legacy/" | ||
- name: Build and publish distribution 📦 to Test PyPI | ||
uses: JRubics/[email protected] | ||
with: | ||
python_version: "3.11" | ||
pypi_token: ${{ secrets.TEST_PYPI_API_TOKEN }} | ||
repository_name: "testpypi" | ||
repository_url: "https://test.pypi.org/legacy/" | ||
|
||
- name: Build and publish distribution 📦 to PyPI | ||
uses: JRubics/[email protected] | ||
|
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 |
---|---|---|
|
@@ -41,3 +41,4 @@ cov.syspath.txt | |
*.whl | ||
*dogsAndcats* | ||
pytest_notebooks.xml | ||
poetry.lock |
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.