-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathtaskfile.yml
More file actions
28 lines (24 loc) · 726 Bytes
/
Copy pathtaskfile.yml
File metadata and controls
28 lines (24 loc) · 726 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
version: '3'
tasks:
lint:
description: Lint the code
cmds:
- uv run mypy ./gqlauth
test:
description: Run tests
dir: "./tests"
cmds:
- cd testproject && uv run migrate.py
- uv run pytest --ds=tests.testproject.settings -m 'not settings_b' --cov=gqlauth --cov-report=xml
- uv run pytest --ds=tests.testproject.settings_b -m "not default_user" --cov=gqlauth --cov-report=xml --cov-append
serve:
description: Serve the documentation
cmds:
- uv run docs/pre_build.py
- uv run mkdocs serve
deploy_docs:
description: Deploy the documentation
cmds:
- uv run docs/pre_build.py
- uv run mkdocs build
- uv run mkdocs gh-deploy --force