44 push :
55 branches : [ main ]
66 paths :
7- - ' ArroyoSketch /**'
8- - ' PrometheusClient /**'
9- - ' Controller /**'
10- - ' Utilities /**'
11- - ' PrometheusExporters /**'
12- - ' ExecutionUtilities /**'
13- - ' CommonDependencies /dependencies/py/**'
7+ - ' asap-sketch-ingest /**'
8+ - ' asap-tools/prometheus-client /**'
9+ - ' asap-planner /**'
10+ - ' asap-tools /**'
11+ - ' asap-tools/prometheus-exporters /**'
12+ - ' asap-tools/execution-utilities /**'
13+ - ' asap-common /dependencies/py/**'
1414 - ' .github/workflows/python.yml'
1515 pull_request :
1616 branches : [ main ]
1717 paths :
18- - ' ArroyoSketch /**'
19- - ' PrometheusClient /**'
20- - ' Controller /**'
21- - ' Utilities /**'
22- - ' PrometheusExporters /**'
23- - ' ExecutionUtilities /**'
24- - ' CommonDependencies /dependencies/py/**'
18+ - ' asap-sketch-ingest /**'
19+ - ' asap-tools/prometheus-client /**'
20+ - ' asap-planner /**'
21+ - ' asap-tools /**'
22+ - ' asap-tools/prometheus-exporters /**'
23+ - ' asap-tools/execution-utilities /**'
24+ - ' asap-common /dependencies/py/**'
2525 - ' .github/workflows/python.yml'
2626 workflow_dispatch :
2727
@@ -46,23 +46,23 @@ jobs:
4646 with :
4747 filters : |
4848 arroyo_sketch:
49- - 'ArroyoSketch /**'
50- - 'CommonDependencies /dependencies/py/**'
49+ - 'asap-sketch-ingest /**'
50+ - 'asap-common /dependencies/py/**'
5151 prometheus_client:
52- - 'PrometheusClient /**'
53- - 'CommonDependencies /dependencies/py/**'
52+ - 'asap-tools/prometheus-client /**'
53+ - 'asap-common /dependencies/py/**'
5454 controller:
55- - 'Controller /**'
56- - 'CommonDependencies /dependencies/py/**'
55+ - 'asap-planner /**'
56+ - 'asap-common /dependencies/py/**'
5757 utilities:
58- - 'Utilities /**'
59- - 'CommonDependencies /dependencies/py/**'
58+ - 'asap-tools /**'
59+ - 'asap-common /dependencies/py/**'
6060 prometheus_exporters:
61- - 'PrometheusExporters /**'
62- - 'CommonDependencies /dependencies/py/**'
61+ - 'asap-tools/prometheus-exporters /**'
62+ - 'asap-common /dependencies/py/**'
6363 execution_utilities:
64- - 'ExecutionUtilities /**'
65- - 'CommonDependencies /dependencies/py/**'
64+ - 'asap-tools/execution-utilities /**'
65+ - 'asap-common /dependencies/py/**'
6666
6767 test-arroyo-sketch :
6868 needs : detect-changes
@@ -81,12 +81,12 @@ jobs:
8181 run : |
8282 python -m pip install --upgrade pip
8383 pip install black==24.8.0 flake8==6.1.0
84- if [ -f ArroyoSketch /requirements.txt ]; then pip install -r ArroyoSketch /requirements.txt; fi
84+ if [ -f asap-sketch-ingest /requirements.txt ]; then pip install -r asap-sketch-ingest /requirements.txt; fi
8585 - name : Check formatting with Black
86- working-directory : ArroyoSketch
86+ working-directory : asap-sketch-ingest
8787 run : black --check --diff .
8888 - name : Lint with flake8
89- working-directory : ArroyoSketch
89+ working-directory : asap-sketch-ingest
9090 run : |
9191 # Stop the build if there are Python syntax errors or undefined names
9292 flake8 . --config=../.flake8 --count --select=E9,F63,F7,F82 --show-source --statistics
@@ -110,19 +110,19 @@ jobs:
110110 run : |
111111 python -m pip install --upgrade pip
112112 pip install black==24.8.0 flake8==6.1.0 mypy types-requests types-PyYAML typing-extensions numpy prometheus-client urllib3
113- if [ -f PrometheusClient/ requirements.txt ]; then pip install -r PrometheusClient /requirements.txt; fi
113+ if [ -f asap-tools/prometheus-client/ requirements.txt ]; then pip install -r asap-tools/prometheus-client /requirements.txt; fi
114114 - name : Check formatting with Black
115- working-directory : PrometheusClient
115+ working-directory : asap-tools/prometheus-client
116116 run : black --check --diff .
117117 - name : Lint with flake8
118- working-directory : PrometheusClient
118+ working-directory : asap-tools/prometheus-client
119119 run : |
120120 # Stop the build if there are Python syntax errors or undefined names
121- flake8 . --config=../.flake8 --count --select=E9,F63,F7,F82 --show-source --statistics
121+ flake8 . --config=../../. flake8 --count --select=E9,F63,F7,F82 --show-source --statistics
122122 # Exit-zero treats all errors as warnings
123- flake8 . --config=../.flake8 --count --exit-zero --max-complexity=10 --statistics
123+ flake8 . --config=../../. flake8 --count --exit-zero --max-complexity=10 --statistics
124124 - name : Type check with mypy
125- working-directory : PrometheusClient
125+ working-directory : asap-tools/prometheus-client
126126 run : mypy .
127127
128128 test-controller :
@@ -142,12 +142,12 @@ jobs:
142142 run : |
143143 python -m pip install --upgrade pip
144144 pip install black==24.8.0 flake8==6.1.0
145- if [ -f Controller /requirements.txt ]; then pip install -r Controller /requirements.txt; fi
145+ if [ -f asap-planner /requirements.txt ]; then pip install -r asap-planner /requirements.txt; fi
146146 - name : Check formatting with Black
147- working-directory : Controller
147+ working-directory : asap-planner
148148 run : black --check --diff .
149149 - name : Lint with flake8
150- working-directory : Controller
150+ working-directory : asap-planner
151151 run : |
152152 # Stop the build if there are Python syntax errors or undefined names
153153 flake8 . --config=../.flake8 --count --select=E9,F63,F7,F82 --show-source --statistics
@@ -171,12 +171,12 @@ jobs:
171171 run : |
172172 python -m pip install --upgrade pip
173173 pip install black==24.8.0 flake8==6.1.0
174- if [ -f Utilities /requirements.txt ]; then pip install -r Utilities /requirements.txt; fi
174+ if [ -f asap-tools /requirements.txt ]; then pip install -r asap-tools /requirements.txt; fi
175175 - name : Check formatting with Black
176- working-directory : Utilities
176+ working-directory : asap-tools
177177 run : black --check --diff .
178178 - name : Lint with flake8
179- working-directory : Utilities
179+ working-directory : asap-tools
180180 run : |
181181 # Stop the build if there are Python syntax errors or undefined names
182182 flake8 . --config=../.flake8 --count --select=E9,F63,F7,F82 --show-source --statistics
@@ -200,22 +200,22 @@ jobs:
200200 run : |
201201 python -m pip install --upgrade pip
202202 pip install black==24.8.0 flake8==6.1.0 mypy isort
203- if [ -f PrometheusExporters/ requirements.txt ]; then pip install -r PrometheusExporters /requirements.txt; fi
203+ if [ -f asap-tools/prometheus-exporters/ requirements.txt ]; then pip install -r asap-tools/prometheus-exporters /requirements.txt; fi
204204 - name : Check formatting with Black
205- working-directory : PrometheusExporters
205+ working-directory : asap-tools/prometheus-exporters
206206 run : black --check --diff .
207207 - name : Check import sorting with isort
208- working-directory : PrometheusExporters
208+ working-directory : asap-tools/prometheus-exporters
209209 run : isort --check-only --diff --settings-file .isort.cfg .
210210 - name : Lint with flake8
211- working-directory : PrometheusExporters
211+ working-directory : asap-tools/prometheus-exporters
212212 run : |
213213 # Stop the build if there are Python syntax errors or undefined names
214- flake8 . --config=../.flake8 --count --select=E9,F63,F7,F82 --show-source --statistics
214+ flake8 . --config=../../. flake8 --count --select=E9,F63,F7,F82 --show-source --statistics
215215 # Exit-zero treats all errors as warnings
216- flake8 . --config=../.flake8 --count --exit-zero --max-complexity=10 --statistics
216+ flake8 . --config=../../. flake8 --count --exit-zero --max-complexity=10 --statistics
217217 - name : Type check with mypy
218- working-directory : PrometheusExporters
218+ working-directory : asap-tools/prometheus-exporters
219219 run : mypy . --config-file=.mypy.ini
220220
221221 test-execution-utilities :
@@ -235,14 +235,14 @@ jobs:
235235 run : |
236236 python -m pip install --upgrade pip
237237 pip install black==24.8.0 flake8==6.1.0
238- if [ -f ExecutionUtilities/ requirements.txt ]; then pip install -r ExecutionUtilities /requirements.txt; fi
238+ if [ -f asap-tools/execution-utilities/ requirements.txt ]; then pip install -r asap-tools/execution-utilities /requirements.txt; fi
239239 - name : Check formatting with Black
240- working-directory : ExecutionUtilities
240+ working-directory : asap-tools/execution-utilities
241241 run : black --check --diff .
242242 - name : Lint with flake8
243- working-directory : ExecutionUtilities
243+ working-directory : asap-tools/execution-utilities
244244 run : |
245245 # Stop the build if there are Python syntax errors or undefined names
246- flake8 . --config=../.flake8 --count --select=E9,F63,F7,F82 --show-source --statistics
246+ flake8 . --config=../../. flake8 --count --select=E9,F63,F7,F82 --show-source --statistics
247247 # Exit-zero treats all errors as warnings
248- flake8 . --config=../.flake8 --count --exit-zero --max-complexity=10 --statistics
248+ flake8 . --config=../../. flake8 --count --exit-zero --max-complexity=10 --statistics
0 commit comments