Skip to content

Commit

Permalink
more tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm committed Dec 16, 2024
1 parent 5613ce4 commit b916d30
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tasks/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,25 @@ tasks:
desc: "Clean up caches and build artifacts"
cmds:
- git clean -X -d -f

coverage:
desc: "test with coverage"
cmds:
- task: install
- uv pip install pytest pytest-cov
- uv run coverage run --source=adia/. -m pytest
- uv run coverage report -m
- uv run coverage html
- cmd: open htmlcov/index.html
platforms: [darwin]
- cmd: xdg-open htmlcov/index.html 2> /dev/null
platforms: [linux]

marimo:
desc: "Install marimo"
vars:
MARIMO_PATH: '{{.MARIMO_PATH| default "book/marimo"}}'
cmds:
- task: install
- uv pip install marimo
- uv run marimo edit {{.MARIMO_PATH}}

0 comments on commit b916d30

Please sign in to comment.