Skip to content

Commit 0048f7e

Browse files
[repo-helper] Configuration Update (#64)
* Updated files with 'repo_helper'. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent f982c1c commit 0048f7e

File tree

5 files changed

+20
-7
lines changed

5 files changed

+20
-7
lines changed

.bumpversion.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ replace = version = "{new_version}"
2424
[bumpversion:file:setup.cfg]
2525
search = version = {current_version}
2626
replace = version = {new_version}
27+
28+
[bumpversion:file:.github/workflows/conda_ci.yml]

.github/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ exemptMilestones: false
2828
exemptAssignees: false
2929

3030
# Label to use when marking as stale
31-
staleLabel: wontfix
31+
staleLabel: stale
3232

3333
# Comment to post when marking as stale. Set to `false` to disable
3434
markComment: >

.github/workflows/conda_ci.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,22 @@ jobs:
3636
$CONDA/bin/conda config --add channels conda-forge
3737
$CONDA/bin/conda config --add channels domdfcoding
3838
39-
- name: "Build and install package"
39+
- name: "Build and index channel"
4040
run: |
41-
# This mess is only necessary because conda won't fix it themselves
42-
# https://github.com/conda/conda/issues/1884
43-
4441
python -m repo_helper build --conda --out-dir conda-bld/noarch
4542
$CONDA/bin/conda index ./conda-bld || exit 1
46-
$CONDA/bin/conda install -c file://$(pwd)/conda-bld domdf_python_tools -y || exit 1
43+
44+
- name: "Search for package"
45+
run: |
46+
$CONDA/bin/conda search -c file://$(pwd)/conda-bld domdf_python_tools
47+
$CONDA/bin/conda search -c file://$(pwd)/conda-bld --override-channels domdf_python_tools
48+
49+
- name: "Install package"
50+
run: |
51+
$CONDA/bin/conda install -c file://$(pwd)/conda-bld domdf_python_tools=2.9.0=py_1 -y || exit 1
52+
53+
- name: "Run Tests"
54+
run: |
55+
rm -rf domdf_python_tools
56+
$CONDA/bin/pip install -r tests/requirements.txt
57+
$CONDA/bin/pytest tests/

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ Documentation = "https://domdf_python_tools.readthedocs.io/en/latest"
2626

2727
[project.optional-dependencies]
2828
dates = [ "pytz>=2019.1",]
29-
testing = []
3029
all = [ "pytz>=2019.1",]
3130

3231
[tool.mkrecipe]

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ deps =
7272
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
7373
pydocstyle>=6.0.0
7474
pygments>=2.7.1
75+
importlib_metadata<4.5.0; python_version<'3.8'
7576
commands = python3 -m flake8_rst_docstrings_sphinx domdf_python_tools tests --allow-toolbox {posargs}
7677

7778
[testenv:mypy]

0 commit comments

Comments
 (0)