Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -e '.[dev]'
pip install -e '.[dev,postgres]'
pip install Django~=${{ matrix.django-version }}
- name: Run tests
run: just test
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -e '.[dev]'
pip install -e '.[dev,mysql]'
pip install Django~=${{ matrix.django-version }}
- name: Run tests
run: just test
Expand Down
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ source .venv/bin/activate
python -m pip install -e '.[dev]'
```

> [!TIP]
> Add an extra name for each database you want to develop with (e.g. `[dev,mysql]`, `[dev,postgres]` or `[dev,mysql,postgres]`). This is optional.

Then you can run the tests with the [just](https://just.systems/man/en/) command runner:

```sh
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ A reference implementation and backport of background workers and tasks in Djang
## Installation

```
pip install django-tasks
python -m pip install django-tasks
```

## Usage
Expand Down
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,13 @@ dev = [
"coverage",
"django-stubs[compatible-mypy]",
"dj-database-url",
"psycopg",
]
mysql = [
"mysqlclient"
]
postgres = [
"psycopg[binary]",
]

[tool.ruff.lint]
select = ["E", "F", "I", "W", "N", "B", "A", "C4", "T20", "DJ"]
Expand Down