Skip to content

Commit c4fab13

Browse files
committed
ci: Split style and unittest
1 parent 99edb0e commit c4fab13

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.circleci/config.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@ version: 2.1
22

33
jobs:
44
unit:
5+
docker:
6+
- image: registry.opensuse.org/opensuse/leap:15.3
7+
steps:
8+
- checkout
9+
- run:
10+
command: |
11+
zypper -n in --no-recommends diffutils make python3 tar
12+
- checkout
13+
- run: make test_regen_all
14+
- run: make test
15+
16+
style:
517
docker:
618
- image: registry.opensuse.org/opensuse/leap:15.3
719
steps:
@@ -10,11 +22,10 @@ jobs:
1022
command: |
1123
zypper -n ar https://download.opensuse.org/repositories/devel:/languages:/python:/backports/openSUSE_Leap_15.3 py
1224
zypper --gpg-auto-import-keys ref py
13-
zypper -n in --no-recommends diffutils make python3 tar python3-black python3-importlib-metadata
25+
zypper -n in --no-recommends make python3-black python3-importlib-metadata
1426
- checkout
15-
- run: make test_regen_all
1627
- run: make test_python_style
17-
- run: make test
28+
1829

1930
integration:
2031
machine:
@@ -36,3 +47,4 @@ workflows:
3647
jobs:
3748
- unit
3849
- integration
50+
- style

0 commit comments

Comments
 (0)