Skip to content

Commit f1ddf01

Browse files
committed
Update ci, in line with gitdb
This updates smmap's CI configuration in ways that are in line with recent updates to gitdb's. In most cases there is no difference in the changes, and the reason for the updates is more to avoid confusing differences than from the value of the changes themselves. In one case, there is a major difference (fetch-depth). - gitpython-developers/gitdb#89 (same) - gitpython-developers/gitdb#90 (same) It's just the project, not dependencies, but otherwise the same. - gitpython-developers/gitdb#92 (opposite) This is the major difference. We don't need more than the tip of the branch in these tests. Keeping the default fetch-depth of 1 by not setting it explicitly avoids giving the impression that the tests here are doing something they are not (and also serves as a speed optimization). - gitpython-developers/gitdb#93 (same)
1 parent 256c5a2 commit f1ddf01

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.github/dependabot.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

.github/workflows/pythonpackage.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,23 @@ jobs:
1616
strategy:
1717
matrix:
1818
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
19+
include:
20+
- experimental: false
21+
- python-version: "3.12"
22+
experimental: true
23+
continue-on-error: ${{ matrix.experimental }}
1924

2025
steps:
2126
- uses: actions/checkout@v4
22-
with:
23-
fetch-depth: 1000
2427
- name: Set up Python ${{ matrix.python-version }}
2528
uses: actions/setup-python@v4
2629
with:
2730
python-version: ${{ matrix.python-version }}
28-
allow-prereleases: true
29-
- name: Install dependencies
31+
allow-prereleases: ${{ matrix.experimental }}
32+
- name: Install project
3033
run: |
3134
python -m pip install --upgrade pip
35+
pip install .
3236
- name: Lint with flake8
3337
run: |
3438
pip install flake8

0 commit comments

Comments
 (0)