forked from kernelci/kernelci-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
44 lines (38 loc) · 778 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
39
40
41
42
43
44
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# Copyright (C) 2019, 2023 Linaro Limited
# Author: Dan Rue <[email protected]>
#
# Copyright (C) 2019, 2020, 2023 Collabora Limited
# Author: Guillaume Tucker <[email protected]>
test: \
mypy \
pylint \
pycodestyle \
unit-tests \
validate-yaml
mypy:
mypy \
-m kernelci.api \
-m kernelci.api.latest \
-m kernelci.api.helper
pylint:
pylint --reports=y \
kernelci.api \
kernelci.cli \
kernelci.config \
kernelci.runtime \
kernelci.scheduler \
kernelci.storage \
tests
pycodestyle:
pycodestyle kernelci
pycodestyle tests/*
unit-tests:
python3 -m pytest tests
validate-yaml:
./kci config validate
./kci_build validate
./kci_test validate
./kci_data validate
./kci_rootfs validate