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}"
2424[bumpversion:file:setup.cfg]
2525search = version = {current_version}
2626replace = 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
2828exemptAssignees : 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
3434markComment : >
Original file line number Diff line number Diff 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/
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ Documentation = "https://domdf_python_tools.readthedocs.io/en/latest"
2626
2727[project .optional-dependencies ]
2828dates = [ " pytz>=2019.1" ,]
29- testing = []
3029all = [ " pytz>=2019.1" ,]
3130
3231[tool .mkrecipe ]
Original file line number Diff line number Diff line change 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'
7576commands = python3 -m flake8_rst_docstrings_sphinx domdf_python_tools tests --allow-toolbox {posargs}
7677
7778[testenv:mypy]
You can’t perform that action at this time.
0 commit comments