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 4119b51 commit 77c4a4d
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 5 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
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ 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_test.txt
. .venv/bin/activate && pip install -r requirements_dev.txt
. .venv/bin/activate && pip install -r test-requirements.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.
File renamed without changes.
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ envlist = {py38,py39,py310,py311}-{wheel,sdist}

[testenv]
deps =
-r{toxinidir}/requirements_test.txt
sdist: -r{toxinidir}/requirements_dev.txt
-r{toxinidir}/test-requirements.txt
sdist: -r{toxinidir}/dev-requirements.txt
package =
sdist: sdist
wheel: wheel
Expand Down

0 comments on commit 77c4a4d

Please sign in to comment.