Skip to content

Commit e3bbeb2

Browse files
[repo-helper] Configuration Update (#40)
* 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 a6e90c7 commit e3bbeb2

File tree

12 files changed

+45
-14
lines changed

12 files changed

+45
-14
lines changed

.bumpversion.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ replace = : str = "{new_version}"
1919

2020
[bumpversion:file:pyproject.toml]
2121

22+
search = version = "{current_version}"
23+
replace = version = "{new_version}"
24+
2225
[bumpversion:file:setup.cfg]
2326
search = version = {current_version}
2427
replace = version = {new_version}

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ If possible, please include a small, self-contained reproduction.
4444
* consolekit:
4545

4646
## Installation source
47-
<!-- e.g. Github repository, Github Releases, PyPI/pip, Anaconda/conda -->
47+
<!-- e.g. GitHub repository, GitHub Releases, PyPI/pip, Anaconda/conda -->
4848

4949

5050
## Other Additional Information:

.github/actions_build_conda.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
set -e -x
55

6-
python -m mkrecipe || exit 1
6+
python -m mkrecipe --type wheel || exit 1
77

88
# Switch to miniconda
99
source "/home/runner/miniconda/etc/profile.d/conda.sh"

.github/workflows/conda_ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
push:
77
branches: ["master"]
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
tests:
1114
name: "Conda"

.github/workflows/docs_test_action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ name: "Docs Check"
44
on:
55
- push
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
docs:
912
runs-on: ubuntu-latest
@@ -21,9 +24,9 @@ jobs:
2124
- '!tests/**'
2225
2326
- name: Install and Build 🔧
24-
uses: ammaraskar/sphinx-action@master
27+
uses: sphinx-toolbox/sphinx-action@sphinx-3.3.1
2528
if: steps.changes.outputs.code == 'true'
2629
with:
27-
pre-build-command: apt-get update && apt-get install gcc python3-dev git pandoc -y && python -m pip install tox
30+
pre-build-command: python -m pip install tox
2831
docs-folder: "doc-source/"
2932
build-command: "tox -e docs -- -W "

.github/workflows/flake8.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ name: Flake8
55
on:
66
push:
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
Run:
1013
name: "Flake8"
@@ -39,4 +42,4 @@ jobs:
3942
4043
- name: "Run Flake8"
4144
if: steps.changes.outputs.code == 'true'
42-
run: "python -m tox -e lint -- --format github"
45+
run: "python -m tox -e lint -s false -- --format github"

.github/workflows/mypy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ name: mypy
55
on:
66
push:
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
Run:
1013
name: "mypy / ${{ matrix.os }}"
@@ -43,4 +46,4 @@ jobs:
4346
4447
- name: "Run mypy"
4548
if: steps.changes.outputs.code == 'true'
46-
run: "python -m tox -e mypy"
49+
run: "python -m tox -e mypy -s false"

.github/workflows/python_ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ name: Windows
55
on:
66
push:
77

8+
permissions:
9+
actions: write
10+
contents: read
11+
812
jobs:
913
tests:
1014
name: "windows-2019 / Python ${{ matrix.config.python-version }}"
@@ -56,7 +60,7 @@ jobs:
5660
5761
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
5862
if: steps.setup-python.outcome == 'success'
59-
run: python -m tox -e "${{ matrix.config.testenvs }}"
63+
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false
6064

6165
- name: "Upload Coverage 🚀"
6266
uses: actions/upload-artifact@v2

.github/workflows/python_ci_linux.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ name: Linux
55
on:
66
push:
77

8+
permissions:
9+
actions: write
10+
contents: read
11+
812
jobs:
913
tests:
1014
name: "ubuntu-20.04 / Python ${{ matrix.config.python-version }}"
@@ -57,7 +61,7 @@ jobs:
5761
5862
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
5963
if: steps.setup-python.outcome == 'success'
60-
run: python -m tox -e "${{ matrix.config.testenvs }}"
64+
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false
6165

6266
- name: "Upload Coverage 🚀"
6367
uses: actions/upload-artifact@v2
@@ -146,7 +150,6 @@ jobs:
146150
skip_existing: true
147151

148152

149-
150153
Conda:
151154
needs: deploy
152155
runs-on: "ubuntu-20.04"

.github/workflows/python_ci_macos.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ name: macOS
55
on:
66
push:
77

8+
permissions:
9+
actions: write
10+
contents: read
11+
812
jobs:
913
tests:
1014
name: "macos-latest / Python ${{ matrix.config.python-version }}"
@@ -56,7 +60,7 @@ jobs:
5660
5761
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
5862
if: steps.setup-python.outcome == 'success'
59-
run: python -m tox -e "${{ matrix.config.testenvs }}"
63+
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false
6064

6165
- name: "Upload Coverage 🚀"
6266
uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)