Skip to content

Commit 9a9cb02

Browse files
authored
Update CI to run against Django main version (#58)
* wip * Update CI to run main
1 parent cd703c2 commit 9a9cb02

File tree

8 files changed

+9
-43
lines changed

8 files changed

+9
-43
lines changed

.github/workflows/coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
virtualenvs-create: true
2121
virtualenvs-in-project: true
2222

23-
- name: Set up Python 3.12
23+
- name: Set up Python 3.13
2424
uses: actions/setup-python@v5
2525
with:
26-
python-version: "3.12"
26+
python-version: "3.13"
2727
cache: poetry
2828

2929
- name: Install requirements

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-python@v5
1616
with:
17-
python-version: '3.12'
17+
python-version: '3.13'
1818
- uses: pre-commit/[email protected]

.pre-commit-config.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,6 @@ repos:
4747
- id: poetry-check
4848
additional_dependencies:
4949
- poetry-plugin-sort==0.2.0
50-
- poetry-plugin-export==1.8.0
51-
# FIXME: poetry lock export more platform on the CI
52-
# - id: poetry-lock
53-
# args: ["--no-update"]
54-
- id: poetry-export
5550

5651
- repo: https://github.com/astral-sh/ruff-pre-commit
5752
rev: v0.11.12

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Django friendly finite state machine support
22

33
[![CI tests](https://github.com/django-commons/django-fsm-2/actions/workflows/test.yml/badge.svg)](https://github.com/django-commons/django-fsm-2/actions/workflows/test.yml)
4-
[![codecov](https://codecov.io/github/django-commons/django-fsm-2/branch/master/graph/badge.svg?token=GWGDR6AR6D)](https://codecov.io/github/django-commons/django-fsm-2)
4+
[![codecov](https://codecov.io/github/django-commons/django-fsm-2/graph/badge.svg?token=gxsNL3cBl3)](https://codecov.io/github/django-commons/django-fsm-2)
55
[![Documentation](https://img.shields.io/static/v1?label=Docs&message=READ&color=informational&style=plastic)](https://github.com/django-commons/django-fsm-2#settings)
66
[![MIT License](https://img.shields.io/static/v1?label=License&message=MIT&color=informational&style=plastic)](https://github.com/django-commons/anymail-history/LICENSE)
77

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ django-guardian = "*"
4646
graphviz = "*"
4747
pre-commit = "*"
4848
pytest = "*"
49-
pytest-cov = "^4.1.0"
49+
pytest-cov = "*"
5050
pytest-django = "*"
5151

5252
[tool.pytest.ini_options]

requirements.txt

Lines changed: 0 additions & 32 deletions
This file was deleted.

tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ envlist =
44
py{310,311,312}-dj50
55
py{310,311,312}-dj51
66
py{310,311,312,313}-dj52
7+
py{312,313}-djmain
8+
79
skipsdist = True
810

911
[testenv]
@@ -12,6 +14,7 @@ deps =
1214
dj50: Django==5.0
1315
dj51: Django==5.1
1416
dj52: Django==5.2
17+
djmain: https://github.com/django/django/tarball/main
1518

1619
django-guardian
1720
graphviz

0 commit comments

Comments
 (0)