-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (25 loc) · 868 Bytes
/
Makefile
File metadata and controls
33 lines (25 loc) · 868 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
32
33
.PHONY: test install dev clean lint test-aur test-homebrew test-ci test-all
# Install dependencies
install:
pip install -r requirements.txt
# Install in development mode
dev:
pip install -e .
# Run tests
test:
python3 -m pytest tests/ -v
# Clean up cache and build files
clean:
find . -type d -name __pycache__ -exec rm -rf {} +
find . -type d -name "*.egg-info" -exec rm -rf {} +
find . -type d -name .pytest_cache -exec rm -rf {} +
find . -type f -name "*.pyc" -delete
find . -type f -name "*.pyo" -delete
test-aur:
act -j update-aur --container-architecture linux/amd64 --secret AUR_SSH_KEY="$$(cat ~/.ssh/aur_key)"
test-homebrew:
act -j update-homebrew --container-architecture linux/amd64 --secret HOMEBREW_TAP_TOKEN="$$(gh auth token)"
test-ci:
act push --container-architecture linux/amd64
test-all:
act --container-architecture linux/amd64