Skip to content

Commit 327e218

Browse files
committed
tests
1 parent 7230f6a commit 327e218

File tree

1 file changed

+78
-78
lines changed

1 file changed

+78
-78
lines changed

.github/workflows/push.yml

+78-78
Original file line numberDiff line numberDiff line change
@@ -14,89 +14,89 @@ jobs:
1414
with:
1515
name: "python-package-distributions"
1616
path: "dist/"
17-
pytest:
18-
strategy:
19-
matrix:
20-
platform:
21-
- "macos-latest"
22-
- "ubuntu-latest"
23-
# - "windows-latest"
24-
python:
25-
- "3.10"
26-
- "3.11"
27-
runs-on: ${{ matrix.platform }}
28-
steps:
29-
- uses: "actions/checkout@v4"
30-
- uses: "actions/setup-python@v5"
31-
with:
32-
python-version: ${{ matrix.python }}
33-
- run: "python -m pip install -r requirements.in"
34-
- run: "python -m pip install -r requirements-dev.in"
35-
- run: "python -m pip install --editable ."
36-
- run: "python -m pytest"
37-
- env:
38-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
39-
uses: "codecov/codecov-action@v3"
40-
pypi:
41-
environment:
42-
name: "pypi.org"
43-
url: "https://pypi.org/project/lbster"
44-
if: "startsWith(github.ref, 'refs/tags/')"
45-
needs:
46-
- "build"
47-
permissions:
48-
id-token: "write"
49-
runs-on: "ubuntu-latest"
50-
steps:
51-
- uses: "actions/download-artifact@v3"
52-
with:
53-
name: "python-package-distributions"
54-
path: "dist/"
55-
- uses: "pypa/gh-action-pypi-publish@release/v1"
56-
release:
57-
needs:
58-
- "pypi"
59-
permissions:
60-
contents: "write"
61-
id-token: "write"
62-
runs-on: "ubuntu-latest"
63-
steps:
64-
- uses: "actions/download-artifact@v3"
65-
with:
66-
name: "python-package-distributions"
67-
path: "dist/"
68-
- uses: "sigstore/gh-action-sigstore-python@v1.2.3"
69-
with:
70-
inputs: "./dist/*.tar.gz ./dist/*.whl"
71-
- env:
72-
GITHUB_TOKEN: "${{ github.token }}"
73-
run: "gh release create '${{ github.ref_name }}' --notes '' --repo '${{ github.repository }}'"
74-
- env:
75-
GITHUB_TOKEN: "${{ github.token }}"
76-
run: "gh release upload '${{ github.ref_name }}' dist/** --repo '${{ github.repository }}'"
17+
# pytest:
18+
# strategy:
19+
# matrix:
20+
# platform:
21+
# - "macos-latest"
22+
# - "ubuntu-latest"
23+
# # - "windows-latest"
24+
# python:
25+
# - "3.10"
26+
# - "3.11"
27+
# runs-on: ${{ matrix.platform }}
28+
# steps:
29+
# - uses: "actions/checkout@v4"
30+
# - uses: "actions/setup-python@v5"
31+
# with:
32+
# python-version: ${{ matrix.python }}
33+
# - run: "python -m pip install -r requirements.in"
34+
# - run: "python -m pip install -r requirements-dev.in"
35+
# - run: "python -m pip install --editable ."
36+
# - run: "python -m pytest"
37+
# - env:
38+
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
39+
# uses: "codecov/codecov-action@v3"
40+
# pypi:
41+
# environment:
42+
# name: "pypi.org"
43+
# url: "https://pypi.org/project/lbster"
44+
# if: "startsWith(github.ref, 'refs/tags/')"
45+
# needs:
46+
# - "build"
47+
# permissions:
48+
# id-token: "write"
49+
# runs-on: "ubuntu-latest"
50+
# steps:
51+
# - uses: "actions/download-artifact@v3"
52+
# with:
53+
# name: "python-package-distributions"
54+
# path: "dist/"
55+
# - uses: "pypa/gh-action-pypi-publish@release/v1"
56+
# release:
57+
# needs:
58+
# - "pypi"
59+
# permissions:
60+
# contents: "write"
61+
# id-token: "write"
62+
# runs-on: "ubuntu-latest"
63+
# steps:
64+
# - uses: "actions/download-artifact@v3"
65+
# with:
66+
# name: "python-package-distributions"
67+
# path: "dist/"
68+
# - uses: "sigstore/gh-action-sigstore-python@v1.2.3"
69+
# with:
70+
# inputs: "./dist/*.tar.gz ./dist/*.whl"
71+
# - env:
72+
# GITHUB_TOKEN: "${{ github.token }}"
73+
# run: "gh release create '${{ github.ref_name }}' --notes '' --repo '${{ github.repository }}'"
74+
# - env:
75+
# GITHUB_TOKEN: "${{ github.token }}"
76+
# run: "gh release upload '${{ github.ref_name }}' dist/** --repo '${{ github.repository }}'"
7777
# ruff:
7878
# runs-on: "ubuntu-latest"
7979
# steps:
8080
# - uses: "actions/checkout@v4"
8181
# - uses: "chartboost/ruff-action@v1"
8282
# with:
8383
# args: "format --check"
84-
testpypi:
85-
environment:
86-
name: "test.pypi.org"
87-
url: "https://test.pypi.org/project/lbster"
88-
needs:
89-
- "build"
90-
permissions:
91-
id-token: "write"
92-
runs-on: "ubuntu-latest"
93-
steps:
94-
- uses: "actions/download-artifact@v3"
95-
with:
96-
name: "python-package-distributions"
97-
path: "dist/"
98-
- uses: "pypa/gh-action-pypi-publish@release/v1"
99-
with:
100-
repository-url: "https://test.pypi.org/legacy/"
101-
skip-existing: true
84+
# testpypi:
85+
# environment:
86+
# name: "test.pypi.org"
87+
# url: "https://test.pypi.org/project/lbster"
88+
# needs:
89+
# - "build"
90+
# permissions:
91+
# id-token: "write"
92+
# runs-on: "ubuntu-latest"
93+
# steps:
94+
# - uses: "actions/download-artifact@v3"
95+
# with:
96+
# name: "python-package-distributions"
97+
# path: "dist/"
98+
# - uses: "pypa/gh-action-pypi-publish@release/v1"
99+
# with:
100+
# repository-url: "https://test.pypi.org/legacy/"
101+
# skip-existing: true
102102
on: "push"

0 commit comments

Comments
 (0)