forked from re-data/dbt-re-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
34 lines (23 loc) · 777 Bytes
/
Makefile
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
# Maybe change this if you are not running on a Mac
CONTAINER_ARCH = linux/amd64
.PHONY: help run-all-ci test-postgres generate-docs
help:
$(info ${HELP_MESSAGE})
@exit 0
# Run GitHub Actions CI jobs locally
run-all-ci: test-postgres generate-docs
@echo "All CI steps completed."
test-postgres:
@echo "Running test-postgres job..."
act -j test-postgres --container-architecture $(CONTAINER_ARCH)
generate-docs:
@echo "Running generate-docs job..."
act -j generate-docs --container-architecture $(CONTAINER_ARCH)
define HELP_MESSAGE
Usage: $ make [TARGETS]
TARGETS
help Shows this help message
run-all-ci Runs all CI steps
test-postgres Runs test-postgres job
generate-docs Generates documentation
endef