-
-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathmise.toml
More file actions
31 lines (25 loc) · 1012 Bytes
/
mise.toml
File metadata and controls
31 lines (25 loc) · 1012 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[tools]
python = "3.12"
uv = "0.9.28"
[tasks.install]
run = "uv sync --all-groups --all-extras"
alias = "i"
description = "Install dependencies (alias: 'i')"
[tasks."install:upgrade"]
run = "mise run install --upgrade"
description = "Upgrade dependencies in the allowed ranges"
[tasks."install:check"]
run = "uv tree --outdated --all-groups --depth 1"
description = "Check dependencies for updates"
[tasks."ci:install:test"]
run = "uv sync --group test --locked"
description = "Install test dependencies for CI"
[tasks."ci:test:unit"]
run = "uv run pytest tests/unit/ tests/cli/ -v --tb=short --strict-markers --no-cov --junit-xml=pytest-results.xml"
description = "Run unit and CLI tests in CI"
[tasks."ci:test:integration"]
usage = '''
flag "--db <db>" help="The database to use for the tests (sqlite or postgres)" default="sqlite"
'''
run = "uv run pytest tests/integration/ -v --tb=short --strict-markers --no-cov --junit-xml=pytest-results-${usage_db}.xml"
description = "Run integration tests in CI"