Skip to content

Commit 20e2418

Browse files
authored
docs: add [email protected] to CI (#133)
* upgrade some more deps * add django 4.0 to ci * cleanup ci for Black * fix poetry's python version conflicts with CI version
1 parent 6283e62 commit 20e2418

File tree

3 files changed

+88
-23
lines changed

3 files changed

+88
-23
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
matrix: |
1717
python-version {3.6}, django-version {2.0,2.1,2.2,3.0,3.1}
1818
python-version {3.7}, django-version {2.0,2.1,2.2,3.0,3.1}
19-
python-version {3.8}, django-version {2.2,3.0,3.1,3.2}
20-
python-version {3.9}, django-version {2.2,3.0,3.1,3.2}
21-
python-version {3.10}, django-version {3.2}
19+
python-version {3.8}, django-version {2.2,3.0,3.1,3.2,4.0}
20+
python-version {3.9}, django-version {2.2,3.0,3.1,3.2,4.0}
21+
python-version {3.10}, django-version {3.2,4.0}
2222
- name: Set matrix output variable
2323
id: set_matrix
2424
run: |
@@ -48,19 +48,17 @@ jobs:
4848
run: |
4949
rm -rf django_object_actions
5050
pip install --force-reinstall dist/*.whl
51-
- run: poetry add "Django~=${{ matrix.django-version }}"
51+
- run: pip install "Django~=${{ matrix.django-version }}"
5252
- run: make test
5353

5454
lint:
5555
name: "Black"
5656
runs-on: ubuntu-latest
5757
steps:
58-
- uses: actions/checkout@v2
58+
- uses: actions/checkout@v3
5959
- name: Set up Python
60-
uses: actions/setup-python@v2
60+
uses: actions/setup-python@v3
6161
with:
62-
python-version: "3.8"
63-
- name: Install Black
64-
run: pip install black
65-
- name: Run Black
66-
run: black --check .
62+
python-version: "3.10"
63+
- run: pip install black
64+
- run: black --check .

poetry.lock

Lines changed: 77 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ python = "^3.6"
2828

2929
[tool.poetry.dev-dependencies]
3030
coverage = "4.5.4"
31-
django-extensions = "2.2.3"
32-
factory-boy = "2.12.0"
31+
django-extensions = "^3.1.5"
32+
factory-boy = "^3.2.1"
3333
dj-database-url = "0.5.0"
3434

3535
[build-system]

0 commit comments

Comments
 (0)