-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
38 lines (25 loc) · 1015 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
35
36
37
38
include Makefile.common
RESOURCES_CONFIG_FILE ?= ./example.resources.yml
.PHONY: help
help: _help
.PHONY: lint
lint: _lint ## run generic linters
.PHONY: test-complexity
test-complexity: _test-complexity ## run only complexity analysis (radon
.PHONY: test-security
test-security: _test-security ## run only security analysis
.PHONY: test-lint-python
test-lint-python: _test-lint-python # run python linters
.PHONY: test-lint-shellcheck
test-lint-shellcheck: _test-lint-shellcheck =# run only shell/bash linter
.PHONY: test-lint-docker
test-lint-docker: _test-lint-docker ## run only docker linter
test-subprocessor:
./containerize.sh python -m pytest -p pytest_subprocessor automation_infra/tests/plain_tests/ --num-parallel 3
test-ssh-aws:
./run/aws.sh automation_infra/tests/basic_tests/test_ssh.py
test-infra-aws:
./run/aws.sh automation_infra/tests/basic_tests/ --num-parallel 3
test-local:
./run/local.sh automation_infra/tests/basic_tests/
tests: | test-subprocessor test-local test-infra-aws