File tree Expand file tree Collapse file tree 5 files changed +20
-7
lines changed Expand file tree Collapse file tree 5 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -24,3 +24,5 @@ replace = version = "{new_version}"
24
24
[bumpversion:file:setup.cfg]
25
25
search = version = {current_version}
26
26
replace = version = {new_version}
27
+
28
+ [bumpversion:file:.github/workflows/conda_ci.yml]
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ exemptMilestones: false
28
28
exemptAssignees : false
29
29
30
30
# Label to use when marking as stale
31
- staleLabel : wontfix
31
+ staleLabel : stale
32
32
33
33
# Comment to post when marking as stale. Set to `false` to disable
34
34
markComment : >
Original file line number Diff line number Diff line change @@ -36,11 +36,22 @@ jobs:
36
36
$CONDA/bin/conda config --add channels conda-forge
37
37
$CONDA/bin/conda config --add channels domdfcoding
38
38
39
- - name : " Build and install package "
39
+ - name : " Build and index channel "
40
40
run : |
41
- # This mess is only necessary because conda won't fix it themselves
42
- # https://github.com/conda/conda/issues/1884
43
-
44
41
python -m repo_helper build --conda --out-dir conda-bld/noarch
45
42
$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/
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ Documentation = "https://domdf_python_tools.readthedocs.io/en/latest"
26
26
27
27
[project .optional-dependencies ]
28
28
dates = [ " pytz>=2019.1" ,]
29
- testing = []
30
29
all = [ " pytz>=2019.1" ,]
31
30
32
31
[tool .mkrecipe ]
Original file line number Diff line number Diff line change 72
72
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
73
73
pydocstyle>=6.0.0
74
74
pygments>=2.7.1
75
+ importlib_metadata<4.5.0; python_version<'3.8'
75
76
commands = python3 -m flake8_rst_docstrings_sphinx domdf_python_tools tests --allow-toolbox {posargs}
76
77
77
78
[testenv:mypy]
You can’t perform that action at this time.
0 commit comments