Skip to content

Commit 4ed32fb

Browse files
committed
!squash test ci more
1 parent bce2e38 commit 4ed32fb

File tree

1 file changed

+24
-9
lines changed

1 file changed

+24
-9
lines changed

.github/workflows/tests.yml

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,32 @@ jobs:
8080

8181
release:
8282
runs-on: ubuntu-latest
83+
strategy:
84+
matrix:
85+
python-version: ["3.10"]
86+
8387
needs: build
84-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
88+
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
8589
steps:
90+
- uses: actions/checkout@v3
91+
92+
- name: Install poetry
93+
run: pipx install "poetry==1.1.15"
94+
95+
- name: Set up Python ${{ matrix.python-version }}
96+
uses: actions/setup-python@v4
97+
with:
98+
python-version: ${{ matrix.python-version }}
99+
cache: 'poetry'
100+
86101
- name: Build package
87-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
102+
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
88103
run: poetry build
89104

90-
- name: Publish package
91-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
92-
uses: pypa/gh-action-pypi-publish@release/v1
93-
with:
94-
user: __token__
95-
password: ${{ secrets.PYPI_API_TOKEN }}
96-
skip_existing: true
105+
# - name: Publish package
106+
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
107+
# uses: pypa/gh-action-pypi-publish@release/v1
108+
# with:
109+
# user: __token__
110+
# password: ${{ secrets.PYPI_API_TOKEN }}
111+
# skip_existing: true

0 commit comments

Comments
 (0)