-
Notifications
You must be signed in to change notification settings - Fork 1
/
lume.yml
47 lines (43 loc) · 998 Bytes
/
lume.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: meiga
envs:
PACKAGE_NAME: meiga
install:
run:
- uv pip install -e .[dev]
- pre-commit install
uninstall:
run:
- uv uninstall meiga -y
- uv pip freeze | xargs uv pip uninstall
- uv install lume
steps:
reinstall:
run:
- lume -uninstall
- lume -install
clean:
run:
- rm -rf *.egg-info
- rm -rf .*_cache
- find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
lint:
run:
- ruff check --fix $PACKAGE_NAME tests
- ruff format $PACKAGE_NAME tests
check-requirements:
run: pip-audit
static-analysis:
run: mypy $PACKAGE_NAME tests --exclude '.*tests.unit.test_result_match*'
coverage:
run: pytest -c tests/pytest.coverage.ini
test:
run: pytest -v
docs:
run: |
uv pip install -e .[doc]
mkdocs build
check-no-binary-installation:
run: |
pip install hatch
hatch build
pip wheel --no-cache-dir $PACKAGE_NAME -w /tmp/ext dist/$PACKAGE_NAME-*.tar.gz