Sfoglia il codice sorgente

Try to fix workflow

tags/v0.7.1
Ben Kurtovic 1 anno fa
parent
commit
463a40d2f2
2 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. +2
    -2
      .github/workflows/build.yml
  2. +2
    -0
      pyproject.toml

+ 2
- 2
.github/workflows/build.yml Vedi File

@@ -52,6 +52,7 @@ jobs:
path: dist/*.tar.gz path: dist/*.tar.gz


upload-pypi: upload-pypi:
name: Publish to PyPI
needs: [build-wheels, build-sdist] needs: [build-wheels, build-sdist]
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: pypi environment: pypi
@@ -65,5 +66,4 @@ jobs:
path: dist path: dist
merge-multiple: true merge-multiple: true


- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
- uses: pypa/gh-action-pypi-publish@release/v1

+ 2
- 0
pyproject.toml Vedi File

@@ -74,6 +74,8 @@ optional = true
[tool.setuptools_scm] [tool.setuptools_scm]


[tool.cibuildwheel] [tool.cibuildwheel]
build-frontend = "build[uv]"
test-groups = ["dev"]
test-command = [ test-command = [
"python -c 'import mwparserfromhell.parser._tokenizer'", "python -c 'import mwparserfromhell.parser._tokenizer'",
"pytest {project}/tests -rxs --cov=mwparserfromhell", "pytest {project}/tests -rxs --cov=mwparserfromhell",


Caricamento…
Annulla
Salva