File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 - name : Install poetry
1616 run : pip install poetry
1717 - name : Configure API token
18- run : poetry config pypi-token.pypi "${{ secrets.PYPI_API_KEY }}"
18+ run : poetry config pypi-token.pypi "${{ secrets.PYPI_API_TOKEN }}"
1919 - name : Build and then publish nuts to PyPI
2020 run : poetry publish --build
Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ NUTS is currently not published on the Python Package Index (`PyPI <https://pypi
2525 # install NUTS
2626 pip install < your_nuts_directory>
2727
28+ # install NUTS directly from git without clone first
29+ pip install git+https://github.com/INSRapperswil/Nuts.git
30+
2831 Parsing with ntc-templates
2932--------------------------
3033
Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ testpaths = "tests"
5555[testenv]
5656description = Run pytest and generate report
5757deps =
58- pytest
59- pytest-cov
58+ pytest
59+ pytest-cov
6060commands = pytest {posargs} --junitxml=test-reports/pytest.xml --cov="{envsitepackagesdir}/nuts" --cov=tests --cov-report xml:test-reports/coverage.xml
6161# envsitepackagesdir see: https://tox.readthedocs.io/en/latest/example/pytest.html
6262
@@ -82,8 +82,8 @@ commands = sphinx-build {posargs} source build
8282[testenv:pytest-main]
8383description = Run project tests against pytest-main branch
8484deps =
85- git+https://github.com/pytest-dev/pytest.git#main
86- pytest-cov
85+ git+https://github.com/pytest-dev/pytest.git#main
86+ pytest-cov
8787commands = pytest {posargs} --junitxml=test-reports/pytest.xml --cov="{envsitepackagesdir}/nuts" --cov=tests --cov-report xml:test-reports/coverage.xml
8888# envsitepackagesdir see: https://tox.readthedocs.io/en/latest/example/pytest.html
8989
You can’t perform that action at this time.
0 commit comments