Skip to content

Commit

Permalink
[ci] Only run samples when they actually changed (OpenAPITools#9636)
Browse files Browse the repository at this point in the history
* [ci] Only run samples when they actually changed

* in pull requests only run the samples that matter
* if a sample is outdated it will still fail in the build pipeline

* Test Kotlin sample changes

* Revert Kotlin sample change
  • Loading branch information
kuhnroyal authored Jun 10, 2021
1 parent 32c1e92 commit 46bf3e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/samples-dart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
branches:
- master
- '[5-9]+.[0-9]+.x'
paths:
- 'samples/openapi3/client/petstore/dart*/**'

jobs:
tests-dart-2-10:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/samples-kotlin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
branches:
- master
- '[5-9]+.[0-9]+.x'
paths:
- 'samples/client/petstore/kotlin*/**'

env:
GRADLE_VERSION: 6.9
Expand Down

0 comments on commit 46bf3e8

Please sign in to comment.