Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 16855e9

Browse files
committed
Try renaming the jobs to make more clear which does what
1 parent 017afd3 commit 16855e9

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

.github/workflows/ci.yaml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,47 @@
11
on: push
22
name: "CI"
33
jobs:
4+
integrations:
5+
name: "Test / Node.js Code"
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@master
9+
- name: "list files and folders"
10+
run: ls
11+
- name: "Install npm dependencies in all parser sub projects"
12+
run: |
13+
for dir in integrations/*/parser/
14+
do
15+
cd $dir
16+
if [ -f package.json ] && [ -f package-lock.json ]; then
17+
echo "Installing dependencies for $dir"
18+
npm ci
19+
fi
20+
# cd back
21+
cd -
22+
done
23+
- name: "Install npm dependencies in all persistence sub projects"
24+
run: |
25+
for dir in persistence/*/
26+
do
27+
cd $dir
28+
if [ -f package.json ] && [ -f package-lock.json ]; then
29+
echo "Installing dependencies for $dir"
30+
npm ci
31+
fi
32+
# cd back
33+
cd -
34+
done
35+
- name: "Install npm test dependencies"
36+
run: |
37+
npm ci
38+
cd integrations/
39+
npm ci
40+
- name: "Run tests"
41+
run: |
42+
npm test -- --ci --colors --coverage
443
operator:
5-
name: "Operator"
44+
name: "Build / Operator"
645
runs-on: ubuntu-latest
746
steps:
847
- uses: actions/checkout@master
@@ -23,7 +62,7 @@ jobs:
2362
tag_with_ref: true
2463
path: ./operator/
2564
lurcher:
26-
name: "Lurcher"
65+
name: "Build / Lurcher"
2766
runs-on: ubuntu-latest
2867
steps:
2968
- uses: actions/checkout@master
@@ -43,47 +82,8 @@ jobs:
4382
repository: scbexperimental/lurcher
4483
tag_with_ref: true
4584
path: ./lurcher/
46-
integrations:
47-
name: "Node Unit Tests"
48-
runs-on: ubuntu-latest
49-
steps:
50-
- uses: actions/checkout@master
51-
- name: "list files and folders"
52-
run: ls
53-
- name: "Install npm dependencies in all parser sub projects"
54-
run: |
55-
for dir in integrations/*/parser/
56-
do
57-
cd $dir
58-
if [ -f package.json ] && [ -f package-lock.json ]; then
59-
echo "Installing dependencies for $dir"
60-
npm ci
61-
fi
62-
# cd back
63-
cd -
64-
done
65-
- name: "Install npm dependencies in all persistence sub projects"
66-
run: |
67-
for dir in persistence/*/
68-
do
69-
cd $dir
70-
if [ -f package.json ] && [ -f package-lock.json ]; then
71-
echo "Installing dependencies for $dir"
72-
npm ci
73-
fi
74-
# cd back
75-
cd -
76-
done
77-
- name: "Install npm test dependencies"
78-
run: |
79-
npm ci
80-
cd integrations/
81-
npm ci
82-
- name: "Run tests"
83-
run: |
84-
npm test -- --ci --colors --coverage
8585
parserImages:
86-
name: "Build Parser Images"
86+
name: "Build / Parsers"
8787
runs-on: ubuntu-latest
8888
steps:
8989
- uses: actions/checkout@master
@@ -146,7 +146,7 @@ jobs:
146146
path: ./integrations/zap/parser/
147147
tag_with_ref: true
148148
persistenceImages:
149-
name: "Build PersistenceProvider Images"
149+
name: "Build / PersistenceProviders"
150150
runs-on: ubuntu-latest
151151
steps:
152152
- uses: actions/checkout@master
@@ -178,7 +178,7 @@ jobs:
178178
tag_with_ref: true
179179
scannerImages:
180180
# Note we only build images for scanner that don't provider official public container images
181-
name: "Build Scanner Images"
181+
name: "Build / Scanner"
182182
runs-on: ubuntu-latest
183183
steps:
184184
- uses: actions/checkout@master
@@ -192,7 +192,7 @@ jobs:
192192
# Note: not prefixed with a "v" as this seems to match nmap versioning standards
193193
tags: "7.80,7.80-1,latest"
194194
integrationTests:
195-
name: "Integration Tests"
195+
name: "Test / Integration Tests"
196196
needs:
197197
- scannerImages
198198
- persistenceImages

0 commit comments

Comments
 (0)