Skip to content

Commit 1c14999

Browse files
committed
Merge branch 'master' into update-naming-convention-of-nuts
2 parents aa9877c + 7685c12 commit 1c14999

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/publish-to-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
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

docs/source/installation/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ testpaths = "tests"
5555
[testenv]
5656
description = Run pytest and generate report
5757
deps =
58-
pytest
59-
pytest-cov
58+
pytest
59+
pytest-cov
6060
commands = 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]
8383
description = Run project tests against pytest-main branch
8484
deps =
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
8787
commands = 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

0 commit comments

Comments
 (0)