Skip to content

Commit e2d4cab

Browse files
committed
dynamically create plugin tests
1 parent 3c5b627 commit e2d4cab

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+152
-734
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"config":[{"name":"Plugin tests (6.0)","swift_version":"6.0","runner":"ubuntu-latest","image":"swift:6.0-jammy","platform":"Linux","setup_command":"apt-get update -y -q && apt-get install -y -q curl protobuf-compiler","command":"curl -s https://raw.githubusercontent.com/grpc/grpc-swift-protobuf/package_plugins/dev/plugin-tests.sh | bash","command_arguments":""},{"name":"Plugin tests (nightly-6.1)","swift_version":"nightly-6.1","runner":"ubuntu-latest","image":"swiftlang/swift:nightly-6.1-jammy","platform":"Linux","setup_command":"apt-get update -y -q && apt-get install -y -q curl protobuf-compiler","command":"curl -s https://raw.githubusercontent.com/grpc/grpc-swift-protobuf/package_plugins/dev/plugin-tests.sh | bash","command_arguments":""},{"name":"Plugin tests (nightly-main)","swift_version":"nightly-main","runner":"ubuntu-latest","image":"swiftlang/swift:nightly-main-jammy","platform":"Linux","setup_command":"apt-get update -y -q && apt-get install -y -q curl protobuf-compiler","command":"curl -s https://raw.githubusercontent.com/grpc/grpc-swift-protobuf/package_plugins/dev/plugin-tests.sh | bash","command_arguments":""}]}
1+
{"config":[{"name":"Plugin tests (6.0)","swift_version":"6.0","runner":"ubuntu-latest","image":"swift:6.0-jammy","platform":"Linux","setup_command":"apt-get update -y -q && apt-get install -y -q curl protobuf-compiler","command":"curl -s http://raw.githubusercontent.com/grpc/grpc-swift-protobuf/main/dev/plugin-tests.sh | bash","command_arguments":""},{"name":"Plugin tests (nightly-6.1)","swift_version":"nightly-6.1","runner":"ubuntu-latest","image":"swiftlang/swift:nightly-6.1-jammy","platform":"Linux","setup_command":"apt-get update -y -q && apt-get install -y -q curl protobuf-compiler","command":"curl -s http://raw.githubusercontent.com/grpc/grpc-swift-protobuf/main/dev/plugin-tests.sh | bash","command_arguments":""},{"name":"Plugin tests (nightly-main)","swift_version":"nightly-main","runner":"ubuntu-latest","image":"swiftlang/swift:nightly-main-jammy","platform":"Linux","setup_command":"apt-get update -y -q && apt-get install -y -q curl protobuf-compiler","command":"curl -s http://raw.githubusercontent.com/grpc/grpc-swift-protobuf/main/dev/plugin-tests.sh | bash","command_arguments":""}]}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Leading trivia.
2+
syntax = "proto3";
3+
4+
package foo;
5+
6+
message FooInput {}
7+
message FooOutput {}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import PackageDescription
1919

20-
let package = Package(
20+
var package = Package(
2121
name: "grpc-adopter",
2222
platforms: [
2323
.macOS(.v15),
@@ -27,12 +27,11 @@ let package = Package(
2727
.visionOS(.v2),
2828
],
2929
dependencies: [
30-
.package(
31-
path: "../../../../grpc-swift-protobuf"
32-
),
30+
// Dependency on grpc-swift-protobuf to be added by setup-plugin-tests.sh script
31+
3332
.package(
3433
url: "https://github.com/grpc/grpc-swift.git",
35-
exact: "2.0.0-beta.3"
34+
branch: "main"
3635
),
3736
],
3837
targets: [
File renamed without changes.

0 commit comments

Comments
 (0)