-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.makim.yaml
83 lines (76 loc) · 2.13 KB
/
.makim.yaml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
groups:
clean:
tasks:
tmp:
help: Clean unnecessary temporary files
backend: bash
run: |
rm -fr build/
rm -fr dist/
rm -fr .eggs/
rm -f .coverage
rm -fr htmlcov/
rm -fr .pytest_cache
find . -name '*.egg-info' -exec rm -fr {} +
find . -name '*.egg' -exec rm -f {} +
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '__pycache__' -exec rm -fr {} +
find . -name '*~' -exec rm -f {} +
docs:
tasks:
build:
help: Build documentation
run: |
rm -rf docs/_build
mkdocs build
preview:
help: Preview documentation page locally
run: mkdocs serve --watch docs --config-file mkdocs.yaml
release:
vars:
app: |
npx --yes \
-p semantic-release \
-p "@semantic-release/commit-analyzer" \
-p "@semantic-release/release-notes-generator" \
-p "@semantic-release/changelog" \
-p "@semantic-release/exec" \
-p "@semantic-release/github" \
-p "@semantic-release/git" \
-p "@google/semantic-release-replace-plugin" \
semantic-release
tasks:
dry:
help: Run semantic release in dry-run mode
run: ${{ vars.app }} --dry-run
ci:
help: Run semantic release in dry-run mode
run: ${{ vars.app }} --ci
tests:
tasks:
lint:
help: Run linter tools
run: pre-commit run --all-files --verbose
unit:
help: Run tests
run: pytest -s -vv --template src/scicookie tests
smoke:
help: Run smoke tests
matrix:
script:
- auto-format-tools.sh
- build-systems.sh
- ci.sh
- cli.sh
- containers.sh
- docs-jupyter-book.sh
- docs-mkdocs.sh
- docs-quarto.sh
- docs-sphinx.sh
- files.sh
- linters.sh
- tests.sh
- virtual-envs.sh
run: |
./tests/smoke/${{ matrix.script }}