Skip to content

Commit

Permalink
Rollback target renaming (#960)
Browse files Browse the repository at this point in the history
* Rename kind

* Roll back target renaming
  • Loading branch information
eu9ene authored Dec 16, 2024
1 parent b475d25 commit 051db33
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ kind-dependencies:
- analyze-mono

tasks:
all-pipeline:
all:
description: Dummy task that ensures all parts of training pipeline will run
attributes:
stage: all-pipeline
stage: all
src_locale: "{src_locale}"
trg_locale: "{trg_locale}"

Expand Down
2 changes: 1 addition & 1 deletion taskcluster/test/test_default_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@

def test_last_task_is_targeted(target_task_set: TaskGraph):
"""Ensure that the last task in the pipeline is targeted by default"""
assert any([task == "all-pipeline-ru-en-1" for task in target_task_set.tasks])
assert any([task == "all-ru-en-1" for task in target_task_set.tasks])


def test_cached_tasks_optimized_away(optimized_task_graph: TaskGraph):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_preflight_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_task_group():
assert "Training config" not in output
assert "Visualization" not in output

assert "all-pipeline-en-ru-1" in output
assert "all-en-ru-1" in output
assert not opened_url


Expand Down

0 comments on commit 051db33

Please sign in to comment.