Skip to content

Commit

Permalink
Merge branch 'main' into ci-refinements
Browse files Browse the repository at this point in the history
* main:
  fix: remove wrong example from workspace (testcontainers#1556)
  • Loading branch information
mdelapenya committed Aug 30, 2023
2 parents a06d4f9 + be661b2 commit a364c07
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ on:
branches:
- main
paths-ignore:
- '.vscode/**'
- 'mkdocs.yml'
- 'docs/**'
- 'README.md'
pull_request:
paths-ignore:
- '.vscode/**'
- 'mkdocs.yml'
- 'docs/**'
- 'README.md'
Expand Down
4 changes: 0 additions & 4 deletions .vscode/.testcontainers-go.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@
"name": "example / pubsub",
"path": "../examples/pubsub"
},
{
"name": "example / questdb",
"path": "../examples/questdb"
},
{
"name": "example / spanner",
"path": "../examples/spanner"
Expand Down
2 changes: 2 additions & 0 deletions modulegen/_template/ci.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ on:
branches:
- main
paths-ignore:
- '.vscode/**'
- 'mkdocs.yml'
- 'docs/**'
- 'README.md'
pull_request:
paths-ignore:
- '.vscode/**'
- 'mkdocs.yml'
- 'docs/**'
- 'README.md'
Expand Down
4 changes: 2 additions & 2 deletions modulegen/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,11 +459,11 @@ func assertExampleGithubWorkflowContent(t *testing.T, example Example, exampleWo

modulesList, err := ctx.GetModules()
assert.Nil(t, err)
assert.Equal(t, " module: ["+strings.Join(modulesList, ", ")+"]", data[96])
assert.Equal(t, " module: ["+strings.Join(modulesList, ", ")+"]", data[98])

examplesList, err := ctx.GetExamples()
assert.Nil(t, err)
assert.Equal(t, " module: ["+strings.Join(examplesList, ", ")+"]", data[112])
assert.Equal(t, " module: ["+strings.Join(examplesList, ", ")+"]", data[114])
}

// assert content go.mod
Expand Down

0 comments on commit a364c07

Please sign in to comment.