Skip to content

Commit 058c0f3

Browse files
authored
Merge pull request #65 from consideRatio/pr/dependabot-etc
Add dependabot to bump github actions and misc ci updates
2 parents 5bd0cc2 + 2c7d3cf commit 058c0f3

File tree

3 files changed

+24
-20
lines changed

3 files changed

+24
-20
lines changed

.github/dependabot.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# dependabot.yaml reference: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
2+
#
3+
# Notes:
4+
# - Status and logs from dependabot are provided at
5+
# https://github.com/jupyterhub/jupyterhub-idle-culler/network/updates.
6+
#
7+
version: 2
8+
updates:
9+
# Maintain dependencies in our GitHub Workflows
10+
- package-ecosystem: github-actions
11+
directory: /
12+
labels: [ci]
13+
schedule:
14+
interval: monthly
15+
time: "05:00"
16+
timezone: Etc/UTC

.github/workflows/test.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,17 @@ jobs:
4242
sqlalchemy-version: 1.*
4343
- python-version: "3.11"
4444
jupyterhub-version: 3.*
45+
- python-version: "3.12"
46+
jupyterhub-version: 4.*
4547

4648
steps:
47-
- uses: actions/checkout@v3
48-
- uses: actions/setup-python@v4
49+
- uses: actions/checkout@v4
50+
- uses: actions/setup-python@v5
4951
with:
5052
python-version: "${{ matrix.python-version }}"
51-
- uses: actions/setup-node@v3
53+
- uses: actions/setup-node@v4
5254
with:
53-
node-version: "18"
55+
node-version: "lts/*"
5456

5557
- name: Install configurable-http-proxy
5658
run: |
@@ -75,6 +77,6 @@ jobs:
7577
7678
- name: Run tests
7779
run: |
78-
pytest --maxfail=2 --cov=jupyterhub_idle_culler
80+
pytest --maxfail=2
7981
8082
- uses: codecov/codecov-action@v3

pyproject.toml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -69,20 +69,6 @@ remove-duplicate-keys = true
6969
remove-unused-variables = true
7070

7171

72-
# black is used for autoformatting Python code
73-
#
74-
# ref: https://black.readthedocs.io/en/stable/
75-
#
76-
[tool.black]
77-
target_version = [
78-
"py37",
79-
"py38",
80-
"py39",
81-
"py310",
82-
"py311",
83-
]
84-
85-
8672
# isort is used for autoformatting Python code
8773
#
8874
# ref: https://pycqa.github.io/isort/
@@ -96,7 +82,7 @@ profile = "black"
9682
# ref: https://docs.pytest.org/en/stable/
9783
#
9884
[tool.pytest.ini_options]
99-
addopts = "--verbose --color=yes --durations=10"
85+
addopts = "--verbose --color=yes --durations=10 --cov=jupyterhub_idle_culler"
10086
asyncio_mode = "auto"
10187

10288

0 commit comments

Comments
 (0)