@@ -238,24 +238,24 @@ func getWorkflow(binary string, currentFolder string, tempfile string) []e2e.Wor
238
238
func getTasks (binary string , currentFolder string ) []e2e.Task {
239
239
return []e2e.Task {
240
240
{
241
- Name : "happy-path " ,
241
+ Name : "parse-whole-pipeline " ,
242
242
Command : binary ,
243
- Args : []string {"internal" , "parse-pipeline" , filepath .Join (currentFolder , "happy-path " )},
243
+ Args : []string {"internal" , "parse-pipeline" , filepath .Join (currentFolder , "test-pipelines/parse-whole-pipeline " )},
244
244
Env : []string {},
245
245
SkipJSONNodes : []string {"\" path\" " },
246
246
Expected : e2e.Output {
247
247
ExitCode : 0 ,
248
- Output : helpers .ReadFile (filepath .Join (currentFolder , "happy-path /expectations/pipeline.yml.json" )),
248
+ Output : helpers .ReadFile (filepath .Join (currentFolder , "test-pipelines/parse-whole-pipeline /expectations/pipeline.yml.json" )),
249
249
},
250
250
Asserts : []func (* e2e.Task ) error {
251
251
e2e .AssertByExitCode ,
252
252
e2e .AssertByOutputJSON ,
253
253
},
254
254
},
255
255
{
256
- Name : "chess-extended " ,
256
+ Name : "run-with-tags " ,
257
257
Command : binary ,
258
- Args : []string {"run" , "--tag" , "include" , "--exclude-tag" , "exclude" , filepath .Join (currentFolder , "chess-extended " )},
258
+ Args : []string {"run" , "--tag" , "include" , "--exclude-tag" , "exclude" , filepath .Join (currentFolder , "test-pipelines/run-with-tags-pipeline " )},
259
259
Env : []string {},
260
260
261
261
Expected : e2e.Output {
@@ -266,9 +266,9 @@ func getTasks(binary string, currentFolder string) []e2e.Task {
266
266
},
267
267
},
268
268
{
269
- Name : "chess-extended-only-checks " ,
269
+ Name : "run-with-filters " ,
270
270
Command : binary ,
271
- Args : []string {"run" , "--tag" , "include" , "--exclude-tag" , "exclude" , "--only" , "checks" , filepath .Join (currentFolder , "chess-extended " )},
271
+ Args : []string {"run" , "--tag" , "include" , "--exclude-tag" , "exclude" , "--only" , "checks" , filepath .Join (currentFolder , "test-pipelines/run-with-filters-pipeline " )},
272
272
Env : []string {},
273
273
274
274
Expected : e2e.Output {
@@ -283,7 +283,7 @@ func getTasks(binary string, currentFolder string) []e2e.Task {
283
283
{
284
284
Name : "format-if-fail" ,
285
285
Command : binary ,
286
- Args : []string {"format" , "--fail-if-changed" , filepath .Join (currentFolder , "chess-extended/ assets/chess_games.asset.yml " )},
286
+ Args : []string {"format" , "--fail-if-changed" , filepath .Join (currentFolder , "test-pipelines/format-if-changed-pipeline/ assets/correctly-formatted.sql " )},
287
287
Env : []string {},
288
288
Expected : e2e.Output {
289
289
ExitCode : 0 ,
@@ -293,9 +293,9 @@ func getTasks(binary string, currentFolder string) []e2e.Task {
293
293
},
294
294
},
295
295
{
296
- Name : "chess-extended-only-main " ,
296
+ Name : "run-main-with-filters " ,
297
297
Command : binary ,
298
- Args : []string {"run" , "--tag" , "include" , "--exclude-tag" , "exclude" , "--only" , "main" , filepath .Join (currentFolder , "chess-extended " )},
298
+ Args : []string {"run" , "--tag" , "include" , "--exclude-tag" , "exclude" , "--only" , "main" , filepath .Join (currentFolder , "test-pipelines/run-main-with-filters-pipeline " )},
299
299
Env : []string {},
300
300
301
301
Expected : e2e.Output {
@@ -308,9 +308,9 @@ func getTasks(binary string, currentFolder string) []e2e.Task {
308
308
},
309
309
},
310
310
{
311
- Name : "downstream-chess-extended " ,
311
+ Name : "run-with-downstream " ,
312
312
Command : binary ,
313
- Args : []string {"run" , "--downstream" , filepath .Join (currentFolder , "chess-extended /assets/game_outcome_summary.sql" )},
313
+ Args : []string {"run" , "--downstream" , filepath .Join (currentFolder , "test-pipelines/run-with-downstream-pipeline /assets/game_outcome_summary.sql" )},
314
314
Env : []string {},
315
315
Expected : e2e.Output {
316
316
ExitCode : 0 ,
@@ -322,9 +322,9 @@ func getTasks(binary string, currentFolder string) []e2e.Task {
322
322
},
323
323
},
324
324
{
325
- Name : "downstream-only- main-chess-extended " ,
325
+ Name : "run- main-with-downstream " ,
326
326
Command : binary ,
327
- Args : []string {"run" , "--downstream" , "--only" , "main" , filepath .Join (currentFolder , "chess-extended /assets/game_outcome_summary.sql" )},
327
+ Args : []string {"run" , "--downstream" , "--only" , "main" , filepath .Join (currentFolder , "test-pipelines/run-main-with-downstream-pipeline /assets/game_outcome_summary.sql" )},
328
328
Env : []string {},
329
329
Expected : e2e.Output {
330
330
ExitCode : 0 ,
@@ -338,7 +338,7 @@ func getTasks(binary string, currentFolder string) []e2e.Task {
338
338
{
339
339
Name : "push-metadata" ,
340
340
Command : binary ,
341
- Args : []string {"run" , "--push-metadata" , "--only" , "push-metadata" , filepath .Join (currentFolder , "bigquery- metadata" )},
341
+ Args : []string {"run" , "--push-metadata" , "--only" , "push-metadata" , filepath .Join (currentFolder , "test-pipelines/push- metadata-pipeline " )},
342
342
Env : []string {},
343
343
Expected : e2e.Output {
344
344
ExitCode : 1 ,
@@ -352,7 +352,7 @@ func getTasks(binary string, currentFolder string) []e2e.Task {
352
352
{
353
353
Name : "validate-happy-path" ,
354
354
Command : binary ,
355
- Args : []string {"validate" , filepath .Join (currentFolder , "happy-path" )},
355
+ Args : []string {"validate" , filepath .Join (currentFolder , "test-pipelines/ happy-path" )},
356
356
Env : []string {},
357
357
Expected : e2e.Output {
358
358
ExitCode : 0 ,
@@ -362,9 +362,9 @@ func getTasks(binary string, currentFolder string) []e2e.Task {
362
362
},
363
363
},
364
364
{
365
- Name : "run-use-uv-happy-path " ,
365
+ Name : "run-use-uv" ,
366
366
Command : binary ,
367
- Args : []string {"run" , "--use-uv" , filepath .Join (currentFolder , "happy-path " )},
367
+ Args : []string {"run" , "--use-uv" , filepath .Join (currentFolder , "test-pipelines/run-use-uv-pipeline " )},
368
368
Env : []string {},
369
369
Expected : e2e.Output {
370
370
ExitCode : 0 ,
@@ -376,12 +376,12 @@ func getTasks(binary string, currentFolder string) []e2e.Task {
376
376
{
377
377
Name : "parse-asset-happy-path-asset-py" ,
378
378
Command : binary ,
379
- Args : []string {"internal" , "parse-asset" , filepath .Join (currentFolder , "happy-path/assets/asset.py" )},
379
+ Args : []string {"internal" , "parse-asset" , filepath .Join (currentFolder , "test-pipelines/ happy-path/assets/asset.py" )},
380
380
Env : []string {},
381
381
SkipJSONNodes : []string {"\" path\" " },
382
382
Expected : e2e.Output {
383
383
ExitCode : 0 ,
384
- Output : helpers .ReadFile (filepath .Join (currentFolder , "happy-path/expectations/asset.py.json" )),
384
+ Output : helpers .ReadFile (filepath .Join (currentFolder , "test-pipelines/ happy-path/expectations/asset.py.json" )),
385
385
},
386
386
Asserts : []func (* e2e.Task ) error {
387
387
e2e .AssertByExitCode ,
@@ -391,12 +391,12 @@ func getTasks(binary string, currentFolder string) []e2e.Task {
391
391
{
392
392
Name : "parse-asset-happy-path-chess-games" ,
393
393
Command : binary ,
394
- Args : []string {"internal" , "parse-asset" , filepath .Join (currentFolder , "happy-path/assets/chess_games.asset.yml" )},
394
+ Args : []string {"internal" , "parse-asset" , filepath .Join (currentFolder , "test-pipelines/ happy-path/assets/chess_games.asset.yml" )},
395
395
Env : []string {},
396
396
SkipJSONNodes : []string {"\" path\" " },
397
397
Expected : e2e.Output {
398
398
ExitCode : 0 ,
399
- Output : helpers .ReadFile (filepath .Join (currentFolder , "happy-path/expectations/chess_games.asset.yml.json" )),
399
+ Output : helpers .ReadFile (filepath .Join (currentFolder , "test-pipelines/ happy-path/expectations/chess_games.asset.yml.json" )),
400
400
},
401
401
Asserts : []func (* e2e.Task ) error {
402
402
e2e .AssertByExitCode ,
@@ -406,12 +406,12 @@ func getTasks(binary string, currentFolder string) []e2e.Task {
406
406
{
407
407
Name : "parse-asset-happy-path-chess-profiles" ,
408
408
Command : binary ,
409
- Args : []string {"internal" , "parse-asset" , filepath .Join (currentFolder , "happy-path/assets/chess_profiles.asset.yml" )},
409
+ Args : []string {"internal" , "parse-asset" , filepath .Join (currentFolder , "test-pipelines/ happy-path/assets/chess_profiles.asset.yml" )},
410
410
Env : []string {},
411
411
SkipJSONNodes : []string {"\" path\" " },
412
412
Expected : e2e.Output {
413
413
ExitCode : 0 ,
414
- Output : helpers .ReadFile (filepath .Join (currentFolder , "happy-path/expectations/chess_profiles.asset.yml.json" )),
414
+ Output : helpers .ReadFile (filepath .Join (currentFolder , "test-pipelines/ happy-path/expectations/chess_profiles.asset.yml.json" )),
415
415
},
416
416
Asserts : []func (* e2e.Task ) error {
417
417
e2e .AssertByExitCode ,
@@ -421,12 +421,12 @@ func getTasks(binary string, currentFolder string) []e2e.Task {
421
421
{
422
422
Name : "parse-asset-happy-path-player-summary" ,
423
423
Command : binary ,
424
- Args : []string {"internal" , "parse-asset" , filepath .Join (currentFolder , "happy-path/assets/player_summary.sql" )},
424
+ Args : []string {"internal" , "parse-asset" , filepath .Join (currentFolder , "test-pipelines/ happy-path/assets/player_summary.sql" )},
425
425
Env : []string {},
426
426
SkipJSONNodes : []string {"\" path\" " },
427
427
Expected : e2e.Output {
428
428
ExitCode : 0 ,
429
- Output : helpers .ReadFile (filepath .Join (currentFolder , "happy-path/expectations/player_summary.sql.json" )),
429
+ Output : helpers .ReadFile (filepath .Join (currentFolder , "test-pipelines/ happy-path/expectations/player_summary.sql.json" )),
430
430
},
431
431
Asserts : []func (* e2e.Task ) error {
432
432
e2e .AssertByExitCode ,
@@ -436,7 +436,7 @@ func getTasks(binary string, currentFolder string) []e2e.Task {
436
436
{
437
437
Name : "parse-asset-faulty-pipeline-error-sql" ,
438
438
Command : binary ,
439
- Args : []string {"internal" , "parse-asset" , filepath .Join (currentFolder , "faulty-pipeline/assets/error.sql" )},
439
+ Args : []string {"internal" , "parse-asset" , filepath .Join (currentFolder , "test-pipelines/ faulty-pipeline/assets/error.sql" )},
440
440
Env : []string {},
441
441
442
442
Expected : e2e.Output {
@@ -451,12 +451,12 @@ func getTasks(binary string, currentFolder string) []e2e.Task {
451
451
{
452
452
Name : "validate-missing-upstream" ,
453
453
Command : binary ,
454
- Args : []string {"validate" , "-o" , "json" , filepath .Join (currentFolder , "missing-upstream/assets/nonexistent.sql" )},
454
+ Args : []string {"validate" , "-o" , "json" , filepath .Join (currentFolder , "test-pipelines/ missing-upstream-pipeline /assets/nonexistent.sql" )},
455
455
Env : []string {},
456
456
SkipJSONNodes : []string {"\" path\" " },
457
457
Expected : e2e.Output {
458
458
ExitCode : 0 ,
459
- Output : helpers .ReadFile (filepath .Join (currentFolder , "missing-upstream/expectations/missing_upstream.json" )),
459
+ Output : helpers .ReadFile (filepath .Join (currentFolder , "test-pipelines/ missing-upstream-pipeline /expectations/missing_upstream.json" )),
460
460
},
461
461
Asserts : []func (* e2e.Task ) error {
462
462
e2e .AssertByExitCode ,
@@ -466,7 +466,7 @@ func getTasks(binary string, currentFolder string) []e2e.Task {
466
466
{
467
467
Name : "run-malformed-sql" ,
468
468
Command : binary ,
469
- Args : []string {"run" , filepath .Join (currentFolder , "malformed/assets/malformed.sql" )},
469
+ Args : []string {"run" , filepath .Join (currentFolder , "test-pipelines/run- malformed-pipeline /assets/malformed.sql" )},
470
470
Env : []string {},
471
471
472
472
Expected : e2e.Output {
@@ -509,29 +509,29 @@ func getTasks(binary string, currentFolder string) []e2e.Task {
509
509
},
510
510
},
511
511
{
512
- Name : "parse-pipeline- lineage" ,
512
+ Name : "parse-lineage" ,
513
513
Command : binary ,
514
- Args : []string {"internal" , "parse-pipeline" , "-c" , filepath .Join (currentFolder , "lineage" )},
514
+ Args : []string {"internal" , "parse-pipeline" , "-c" , filepath .Join (currentFolder , "test-pipelines/parse- lineage-pipeline " )},
515
515
Env : []string {},
516
516
SkipJSONNodes : []string {"\" path\" " },
517
517
Expected : e2e.Output {
518
518
ExitCode : 0 ,
519
- Output : helpers .ReadFile (filepath .Join (currentFolder , "lineage/expectations/lineage.json" )),
519
+ Output : helpers .ReadFile (filepath .Join (currentFolder , "test-pipelines/parse- lineage-pipeline /expectations/lineage.json" )),
520
520
},
521
521
Asserts : []func (* e2e.Task ) error {
522
522
e2e .AssertByExitCode ,
523
523
e2e .AssertByOutputJSON ,
524
524
},
525
525
},
526
526
{
527
- Name : "parse-asset-lineage-example " ,
527
+ Name : "parse-asset-lineage" ,
528
528
Command : binary ,
529
- Args : []string {"internal" , "parse-asset" , "-c" , filepath .Join (currentFolder , "lineage/assets/example.sql" )},
529
+ Args : []string {"internal" , "parse-asset" , "-c" , filepath .Join (currentFolder , "test-pipelines/parse-asset- lineage-pipeline /assets/example.sql" )},
530
530
Env : []string {},
531
531
SkipJSONNodes : []string {"\" path\" " },
532
532
Expected : e2e.Output {
533
533
ExitCode : 0 ,
534
- Output : helpers .ReadFile (filepath .Join (currentFolder , "lineage/expectations/lineage-asset.json" )),
534
+ Output : helpers .ReadFile (filepath .Join (currentFolder , "test-pipelines/parse-asset- lineage-pipeline /expectations/lineage-asset.json" )),
535
535
},
536
536
Asserts : []func (* e2e.Task ) error {
537
537
e2e .AssertByExitCode ,
0 commit comments