Skip to content

Commit

Permalink
Move tag filtering tests to tests/fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeckman314 committed Dec 8, 2023
1 parent 50fd749 commit 97c2b51
Show file tree
Hide file tree
Showing 12 changed files with 90 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions tests/fixtures/tag-filtering/task-bar-foo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "Task with tag bar:foo",
"executors": [
{
"image": "alpine",
"command": [
"echo",
"hello"
]
}
],
"tags": {
"bar": "foo"
}
}
15 changes: 15 additions & 0 deletions tests/fixtures/tag-filtering/task-foo-bar.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "Task with tag foo:bar",
"executors": [
{
"image": "alpine",
"command": [
"echo",
"hello"
]
}
],
"tags": {
"foo": "bar"
}
}
15 changes: 15 additions & 0 deletions tests/fixtures/tag-filtering/task-foo-baz.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "Task with tag foo:baz",
"executors": [
{
"image": "alpine",
"command": [
"echo",
"hello"
]
}
],
"tags": {
"foo": "baz"
}
}
15 changes: 15 additions & 0 deletions tests/fixtures/tag-filtering/task-foo-nil.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "Task with tag foo:",
"executors": [
{
"image": "alpine",
"command": [
"echo",
"hello"
]
}
],
"tags": {
"foo": ""
}
}
15 changes: 15 additions & 0 deletions tests/fixtures/tag-filtering/task-nil-bar.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "Task with tag :bar",
"executors": [
{
"image": "alpine",
"command": [
"echo",
"hello"
]
}
],
"tags": {
"": "bar"
}
}
15 changes: 15 additions & 0 deletions tests/fixtures/tag-filtering/task-nil-nil.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "Task with tag :",
"executors": [
{
"image": "alpine",
"command": [
"echo",
"hello"
]
}
],
"tags": {
"": ""
}
}

0 comments on commit 97c2b51

Please sign in to comment.