Skip to content

Commit

Permalink
ci: configure dependabot to update requirements, docker, and GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
silvester747 committed Sep 13, 2023
1 parent deebc55 commit 44ec9cc
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 3 deletions.
20 changes: 20 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 2

updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
target-branch: "develop"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
target-branch: "develop"

- package-ecosystem: "docker"
directory: "/docker/"
schedule:
interval: "weekly"
target-branch: "develop"
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install python dependencies
run: |
pip3 install wheel
pip3 install -r requirements_dev.txt
pip3 install -r dev-requirements.txt
- name: Prepare Python package
run: |
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ install: clean ## install the package to the active Python's site-packages
virtualenv: ## set up a development environment
python3 -m venv .venv
. .venv/bin/activate && pip install wheel
. .venv/bin/activate && pip install -r requirements_dev.txt
. .venv/bin/activate && pip install -r dev-requirements.txt
. .venv/bin/activate && python3 setup.py develop

docker: dist ## build the docker image
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ envlist = py37, py38, py39, py310, py311
setenv =
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/requirements_dev.txt
-r{toxinidir}/dev-requirements.txt
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following line:
; -r{toxinidir}/requirements.txt
Expand Down

0 comments on commit 44ec9cc

Please sign in to comment.