Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ replace = version = "{new_version}"
[bumpversion:file:setup.cfg]
search = version = {current_version}
replace = version = {new_version}

[bumpversion:file:.github/workflows/conda_ci.yml]
2 changes: 1 addition & 1 deletion .github/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ exemptMilestones: false
exemptAssignees: false

# Label to use when marking as stale
staleLabel: wontfix
staleLabel: stale

# Comment to post when marking as stale. Set to `false` to disable
markComment: >
Expand Down
21 changes: 16 additions & 5 deletions .github/workflows/conda_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,22 @@ jobs:
$CONDA/bin/conda config --add channels conda-forge
$CONDA/bin/conda config --add channels domdfcoding

- name: "Build and install package"
- name: "Build and index channel"
run: |
# This mess is only necessary because conda won't fix it themselves
# https://github.com/conda/conda/issues/1884

python -m repo_helper build --conda --out-dir conda-bld/noarch
$CONDA/bin/conda index ./conda-bld || exit 1
$CONDA/bin/conda install -c file://$(pwd)/conda-bld domdf_python_tools -y || exit 1

- name: "Search for package"
run: |
$CONDA/bin/conda search -c file://$(pwd)/conda-bld domdf_python_tools
$CONDA/bin/conda search -c file://$(pwd)/conda-bld --override-channels domdf_python_tools

- name: "Install package"
run: |
$CONDA/bin/conda install -c file://$(pwd)/conda-bld domdf_python_tools=2.9.0=py_1 -y || exit 1

- name: "Run Tests"
run: |
rm -rf domdf_python_tools
$CONDA/bin/pip install -r tests/requirements.txt
$CONDA/bin/pytest tests/
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ Documentation = "https://domdf_python_tools.readthedocs.io/en/latest"

[project.optional-dependencies]
dates = [ "pytz>=2019.1",]
testing = []
all = [ "pytz>=2019.1",]

[tool.mkrecipe]
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ deps =
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
pydocstyle>=6.0.0
pygments>=2.7.1
importlib_metadata<4.5.0; python_version<'3.8'
commands = python3 -m flake8_rst_docstrings_sphinx domdf_python_tools tests --allow-toolbox {posargs}

[testenv:mypy]
Expand Down