Skip to content

Commit 462665d

Browse files
authored
Merge pull request #439 from marrink-lab/fgrunewald-patch-1
Update pypi_deploy.yml
2 parents 2ed834b + 34901b3 commit 462665d

File tree

2 files changed

+22
-25
lines changed

2 files changed

+22
-25
lines changed

.github/workflows/pypi_deploy.yml

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -43,32 +43,34 @@ jobs:
4343
deploy:
4444
needs: test
4545
runs-on: ubuntu-latest
46-
46+
permissions:
47+
id-token: write
4748
steps:
48-
- uses: actions/checkout@master
49+
- uses: actions/checkout@v4
50+
with:
51+
fetch-tags: true
52+
fetch-depth: 0
4953
- name: Set up Python 3.13
50-
uses: actions/setup-python@v1
54+
uses: actions/setup-python@v5
5155
with:
52-
python-version: 3.13
53-
56+
python-version: '3.12'
57+
cache: pop
58+
cache-dependency-path: |
59+
**/setup.cfg
60+
**/requirements-*.txt
61+
**/pyproject.toml
62+
- name: Install dependencies
63+
run: |
64+
pip install --upgrade setuptools pip
65+
pip install --upgrade .
5466
- name: Install pypa/build
55-
run: >-
56-
python -m
57-
pip install
58-
build
59-
--user
60-
pip install pbr
61-
67+
run: |
68+
python3 -m pip install build pbr --user
6269
- name: Build a binary wheel and a source tarball
63-
run: >-
64-
python -m
65-
build
66-
--sdist
67-
--wheel
68-
--outdir dist/
69-
70+
run: python3 -m build --sdist --wheel --outdir dist/
7071
- name: Publish package to PyPI
71-
uses: pypa/gh-action-pypi-publish@master
72+
uses: pypa/gh-action-pypi-publish@release/v1
7273
with:
74+
repository-url: https://upload.pypi.org/legacy/
7375
user: __token__
7476
password: ${{ secrets.PYPI_API_TOKEN }}

polyply/tests/test_gen_params.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@
3131
None,
3232
"PEO",
3333
TEST_DATA / "gen_params" / "ref" / "PEO_10.itp"),
34-
([TEST_DATA / "gen_params"/ "input"/"PS.martini.2.itp"],
35-
None,
36-
TEST_DATA / "gen_params" / "input" / "PS.json",
37-
"PS",
38-
TEST_DATA / "gen_params" / "ref" / "PS_10.itp"),
3934
([TEST_DATA / "gen_params" / "input" / "P3HT.martini.2.itp"],
4035
["P3HT:10"],
4136
None,

0 commit comments

Comments
 (0)