Skip to content

Commit

Permalink
Merge pull request #177 from sbrunner/renovate-config
Browse files Browse the repository at this point in the history
Configure Renovate and Poetry
  • Loading branch information
sbrunner authored Apr 18, 2022
2 parents 987f28a + 87c5a07 commit 66a325b
Show file tree
Hide file tree
Showing 10 changed files with 1,272 additions and 782 deletions.
3 changes: 1 addition & 2 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ updates:
- package-ecosystem: pip
directory: '/'
schedule:
interval: daily
time: '04:00'
interval: monthly
ignore:
- dependency-name: none
23 changes: 23 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
separateMajorMinor: true,
extends: ['config:base', 'schedule:earlyMondays'],
lockFileMaintenance: { enabled: true },
packageRules: [
/** Automerge the patch, the minor and the dev dependency and lockFileMaintenance */
{
matchDepTypes: ['devDependencies', 'lockFileMaintenance'],
automerge: true,
},
/** Group the patch and the minor */
{
matchUpdateTypes: ['patch'],
groupName: 'all patch versions',
automerge: true,
},
{
matchUpdateTypes: ['minor'],
groupName: 'all minor versions',
automerge: true,
},
],
}
10 changes: 5 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
- name: Checks
run: c2cciutils-checks

- run: pipenv sync --system --dev
- run: pipenv run prospector
- run: poetry install
- run: poetry run prospector
- run: >
pipenv run coverage run --source=deskew --module pytest --durations=0 --verbose --color=yes
poetry run coverage run --source=deskew --module pytest --durations=0 --verbose --color=yes
--profile --profile-svg --junitxml=results/test-reports/junit.xml tests &&
coverage report &&
coverage html --directory=results/coverage
poetry run coverage report &&
poetry run coverage html --directory=results/coverage
- uses: actions/upload-artifact@v1
with:
Expand Down
1 change: 0 additions & 1 deletion .prettierignore

This file was deleted.

18 changes: 0 additions & 18 deletions Pipfile

This file was deleted.

756 changes: 0 additions & 756 deletions Pipfile.lock

This file was deleted.

5 changes: 5 additions & 0 deletions ci/config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/camptocamp/c2cciutils/master/c2cciutils/schema.json

checks:
versions: False
black:
Expand All @@ -7,3 +9,6 @@ checks:
backport.yaml: False
clean.yaml: False
audit.yaml: False
codespell:
ignore_re:
- ^poetry.lock$
1 change: 1 addition & 0 deletions ci/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
c2cciutils==1.1.9
poetry==1.1.13
Loading

0 comments on commit 66a325b

Please sign in to comment.