Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 4 additions & 21 deletions .github/workflows/pycompadre_sdist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ jobs:

- name: Test pycompadre using .test()
run: |
cd ${{github.workspace}}
cd ${{github.workspace}}/pycompadre/examples
python3 -c "import pycompadre; pycompadre.test()" 2>&1 | tee tests.log

- name: Test unique install using .is_unique_installation()
run: |
cd ${{github.workspace}}
cd ${{github.workspace}}/pycompadre/examples
python3 -c "import pycompadre; pycompadre.is_unique_installation()" 2>&1 | tee tests.log

- uses: actions/upload-artifact@v4
Expand All @@ -88,9 +88,9 @@ jobs:
pycompadre-type: [ 'pycompadre',]
environment:
name: pypi
url: https://pypi.org/p/<package-name> # Replace <package-name> with your PyPI project name
url: https://pypi.org/p/pycompadre
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
id-token: write
steps:
- name: Download all the dists
uses: actions/download-artifact@v4
Expand All @@ -99,20 +99,3 @@ jobs:
path: dist/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
## https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
#- name: Publish distribution 📦 to Test PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# password: ${{ secrets.TEST_PIP_PYCOMPADRE_SECRET }}
# repository_url: https://test.pypi.org/legacy/
# https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
#- name: Publish distribution 📦 to PyPI (parallel)
# if: ${{ matrix.pycompadre-type == 'pycompadre' }}
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# password: ${{ secrets.PIP_PYCOMPADRE_SECRET }}
#- name: Publish distribution 📦 to PyPI (serial)
# if: ${{ matrix.pycompadre-type == 'pycompadre-serial' }}
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# password: ${{ secrets.PIP_PYCOMPADRE_SERIAL_SECRET }}
105 changes: 0 additions & 105 deletions .github/workflows/pycompadre_sdist_serial.yml

This file was deleted.