Skip to content

Commit 87756cf

Browse files
Updated files with 'repo_helper'. (#44)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent 45e04c1 commit 87756cf

15 files changed

+49
-31
lines changed

.bumpversion.cfg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ tag = True
55

66
[bumpversion:file:repo_helper.yml]
77

8-
[bumpversion:file:__pkginfo__.py]
9-
108
[bumpversion:file:README.rst]
119

1210
[bumpversion:file:doc-source/index.rst]

.github/actions_build_conda.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@ source "/home/runner/miniconda/etc/profile.d/conda.sh"
1010
hash -r
1111
conda activate base
1212
conda config --set always_yes yes --set changeps1 no
13-
conda update -q conda
14-
conda install conda-build
15-
conda install anaconda-client
13+
conda install conda=4.8.5 conda-build=3.18.11
1614
conda info -a
1715

1816
conda config --add channels conda-forge || exit 1
1917
conda config --add channels domdfcoding || exit 1
18+
conda config --remove channels defaults
2019

2120
conda build conda -c conda-forge -c domdfcoding --output-folder conda/dist --skip-existing
2221

.github/actions_deploy_conda.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ source "/home/runner/miniconda/etc/profile.d/conda.sh"
88
hash -r
99
conda activate base
1010
conda config --set always_yes yes --set changeps1 no
11-
conda update -q conda
12-
conda install anaconda-client
11+
conda install conda=4.8.5 anaconda-client
1312
conda info -a
1413

1514
for f in conda/dist/noarch/consolekit-*.tar.bz2; do

.github/workflows/conda_ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
jobs:
1313
tests:
1414
name: "Conda"
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-18.04
1616

1717
steps:
1818
- name: Checkout 🛎️
@@ -28,7 +28,7 @@ jobs:
2828
python -VV
2929
python -m site
3030
python -m pip install --upgrade pip setuptools wheel
31-
python -m pip install --upgrade repo_helper
31+
python -m pip install --upgrade whey-conda
3232
# $CONDA is an environment variable pointing to the root of the miniconda directory
3333
$CONDA/bin/conda update -q conda
3434
$CONDA/bin/conda install conda-build=3.21.0
@@ -38,7 +38,7 @@ jobs:
3838
3939
- name: "Build and index channel"
4040
run: |
41-
python -m repo_helper build --conda --out-dir conda-bld/noarch
41+
python -m whey --builder whey_conda --out-dir conda-bld/noarch
4242
$CONDA/bin/conda index ./conda-bld || exit 1
4343
4444
- name: "Search for package"

.github/workflows/docs_test_action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
---
33
name: "Docs Check"
44
on:
5-
- push
5+
push:
6+
branches-ignore:
7+
- 'repo-helper-update'
8+
- 'pre-commit-ci-update-config'
9+
pull_request:
610

711
permissions:
812
contents: read

.github/workflows/flake8.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ name: Flake8
44

55
on:
66
push:
7+
branches-ignore:
8+
- 'repo-helper-update'
9+
- 'pre-commit-ci-update-config'
10+
pull_request:
711

812
permissions:
913
contents: read

.github/workflows/mypy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ name: mypy
44

55
on:
66
push:
7+
branches-ignore:
8+
- 'repo-helper-update'
9+
- 'pre-commit-ci-update-config'
10+
pull_request:
711

812
permissions:
913
contents: read

.github/workflows/octocheese.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33

44
name: "GitHub Releases"
55
on:
6-
push:
7-
branches: ["master"]
86
schedule:
9-
- cron: 0 12 * * 2,4,6
7+
- cron: 0 12 * * *
108

119
jobs:
1210
Run:

.github/workflows/python_ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ name: Windows
44

55
on:
66
push:
7+
branches-ignore:
8+
- 'repo-helper-update'
9+
- 'pre-commit-ci-update-config'
10+
11+
pull_request:
712

813
permissions:
914
actions: write
@@ -15,7 +20,7 @@ jobs:
1520
runs-on: "windows-2019"
1621
continue-on-error: ${{ matrix.config.experimental }}
1722
env:
18-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-beta.3,pypy-3.6,pypy-3.7'
23+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-beta.4,pypy-3.6,pypy-3.7'
1924

2025
strategy:
2126
fail-fast: False
@@ -25,7 +30,7 @@ jobs:
2530
- {python-version: "3.7", testenvs: "py37-click{7.1,8.0},build", experimental: False}
2631
- {python-version: "3.8", testenvs: "py38-click{7.1,8.0},build", experimental: False}
2732
- {python-version: "3.9", testenvs: "py39-click{7.1,8.0},build", experimental: False}
28-
- {python-version: "3.10.0-beta.3", testenvs: "py310-dev-click{7.1,8.0},build", experimental: True}
33+
- {python-version: "3.10.0-beta.4", testenvs: "py310-dev-click{7.1,8.0},build", experimental: True}
2934
- {python-version: "pypy-3.6", testenvs: "pypy36-click{7.1,8.0},build", experimental: False}
3035
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7.1,8.0},build", experimental: True}
3136

.github/workflows/python_ci_linux.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ name: Linux
44

55
on:
66
push:
7+
branches-ignore:
8+
- 'repo-helper-update'
9+
- 'pre-commit-ci-update-config'
10+
tags:
11+
- '*'
12+
pull_request:
713

814
permissions:
915
actions: write
@@ -15,7 +21,7 @@ jobs:
1521
runs-on: "ubuntu-20.04"
1622
continue-on-error: ${{ matrix.config.experimental }}
1723
env:
18-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-beta.3,pypy-3.6,pypy-3.7'
24+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-beta.4,pypy-3.6,pypy-3.7'
1925

2026
strategy:
2127
fail-fast: False
@@ -25,7 +31,7 @@ jobs:
2531
- {python-version: "3.7", testenvs: "py37-click{7.1,8.0},build", experimental: False}
2632
- {python-version: "3.8", testenvs: "py38-click{7.1,8.0},build", experimental: False}
2733
- {python-version: "3.9", testenvs: "py39-click{7.1,8.0},build", experimental: False}
28-
- {python-version: "3.10.0-beta.3", testenvs: "py310-dev-click{7.1,8.0},build", experimental: True}
34+
- {python-version: "3.10.0-beta.4", testenvs: "py310-dev-click{7.1,8.0},build", experimental: True}
2935
- {python-version: "pypy-3.6", testenvs: "pypy36-click{7.1,8.0},build", experimental: False}
3036
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7.1,8.0},build", experimental: True}
3137

@@ -152,7 +158,7 @@ jobs:
152158

153159
Conda:
154160
needs: deploy
155-
runs-on: "ubuntu-20.04"
161+
runs-on: "ubuntu-18.04"
156162
if: startsWith(github.ref, 'refs/tags/') || (startsWith(github.event.head_commit.message, 'Bump version') != true)
157163
steps:
158164
- name: Checkout 🛎️
@@ -168,7 +174,7 @@ jobs:
168174
python -m pip install --upgrade pip setuptools wheel
169175
python -m pip install --upgrade mkrecipe
170176
171-
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
177+
wget https://repo.anaconda.com/miniconda/Miniconda3-py38_4.10.3-Linux-x86_64.sh -O miniconda.sh
172178
bash miniconda.sh -b -p $HOME/miniconda
173179
174180
- name: Build Conda 📦

0 commit comments

Comments
 (0)