From 324c7d17389199f87c7fff48e8b2b0ca118c9592 Mon Sep 17 00:00:00 2001 From: Andre Hofmeister <9199345+HofmeisterAn@users.noreply.github.com> Date: Sat, 22 Mar 2025 11:39:02 +0100 Subject: [PATCH 1/5] chore: Collect test projects at runtime --- .github/scripts/Collect-TestProjects.ps1 | 22 +++++ .github/workflows/cicd.yml | 86 +++++-------------- tests/Testcontainers.ActiveMq.Tests/.runs-on | 1 + tests/Testcontainers.ArangoDb.Tests/.runs-on | 1 + tests/Testcontainers.Azurite.Tests/.runs-on | 1 + tests/Testcontainers.BigQuery.Tests/.runs-on | 1 + tests/Testcontainers.Bigtable.Tests/.runs-on | 1 + tests/Testcontainers.Cassandra.Tests/.runs-on | 1 + .../Testcontainers.ClickHouse.Tests/.runs-on | 1 + .../Testcontainers.CockroachDb.Tests/.runs-on | 1 + tests/Testcontainers.Commons/.runs-on | 1 + tests/Testcontainers.Consul.Tests/.runs-on | 1 + tests/Testcontainers.CosmosDb.Tests/.runs-on | 1 + tests/Testcontainers.CouchDb.Tests/.runs-on | 1 + tests/Testcontainers.Couchbase.Tests/.runs-on | 1 + tests/Testcontainers.Databases.Tests/.runs-on | 1 + tests/Testcontainers.Db2.Tests/.runs-on | 1 + tests/Testcontainers.DynamoDb.Tests/.runs-on | 1 + .../.runs-on | 1 + tests/Testcontainers.EventHubs.Tests/.runs-on | 1 + .../.runs-on | 1 + .../.runs-on | 1 + .../Testcontainers.FirebirdSql.Tests/.runs-on | 1 + tests/Testcontainers.Firestore.Tests/.runs-on | 1 + tests/Testcontainers.InfluxDb.Tests/.runs-on | 1 + .../Testcontainers.JanusGraph.Tests/.runs-on | 1 + tests/Testcontainers.K3s.Tests/.runs-on | 1 + tests/Testcontainers.Kafka.Tests/.runs-on | 1 + tests/Testcontainers.Keycloak.Tests/.runs-on | 1 + tests/Testcontainers.Kusto.Tests/.runs-on | 1 + .../Testcontainers.LocalStack.Tests/.runs-on | 1 + tests/Testcontainers.MariaDb.Tests/.runs-on | 1 + tests/Testcontainers.Milvus.Tests/.runs-on | 1 + tests/Testcontainers.Minio.Tests/.runs-on | 1 + tests/Testcontainers.MongoDb.Tests/.runs-on | 1 + tests/Testcontainers.MsSql.Tests/.runs-on | 1 + tests/Testcontainers.MySql.Tests/.runs-on | 1 + tests/Testcontainers.Nats.Tests/.runs-on | 1 + tests/Testcontainers.Neo4j.Tests/.runs-on | 1 + tests/Testcontainers.Oracle.Tests/.runs-on | 1 + tests/Testcontainers.Oracle11.Tests/.runs-on | 1 + tests/Testcontainers.Oracle18.Tests/.runs-on | 1 + tests/Testcontainers.Oracle21.Tests/.runs-on | 1 + tests/Testcontainers.Oracle23.Tests/.runs-on | 1 + tests/Testcontainers.Papercut.Tests/.runs-on | 1 + .../.runs-on | 1 + .../.runs-on | 1 + .../Testcontainers.PostgreSql.Tests/.runs-on | 1 + tests/Testcontainers.PubSub.Tests/.runs-on | 1 + tests/Testcontainers.Pulsar.Tests/.runs-on | 1 + tests/Testcontainers.Qdrant.Tests/.runs-on | 1 + tests/Testcontainers.RabbitMq.Tests/.runs-on | 1 + tests/Testcontainers.RavenDb.Tests/.runs-on | 1 + tests/Testcontainers.Redis.Tests/.runs-on | 1 + tests/Testcontainers.Redpanda.Tests/.runs-on | 1 + .../.runs-on | 1 + .../Testcontainers.ServiceBus.Tests/.runs-on | 1 + tests/Testcontainers.Sftp.Tests/.runs-on | 1 + tests/Testcontainers.Tests/.runs-on | 1 + tests/Testcontainers.Weaviate.Tests/.runs-on | 1 + tests/Testcontainers.WebDriver.Tests/.runs-on | 1 + tests/Testcontainers.Xunit.Tests/.runs-on | 1 + 62 files changed, 102 insertions(+), 66 deletions(-) create mode 100644 .github/scripts/Collect-TestProjects.ps1 create mode 100644 tests/Testcontainers.ActiveMq.Tests/.runs-on create mode 100644 tests/Testcontainers.ArangoDb.Tests/.runs-on create mode 100644 tests/Testcontainers.Azurite.Tests/.runs-on create mode 100644 tests/Testcontainers.BigQuery.Tests/.runs-on create mode 100644 tests/Testcontainers.Bigtable.Tests/.runs-on create mode 100644 tests/Testcontainers.Cassandra.Tests/.runs-on create mode 100644 tests/Testcontainers.ClickHouse.Tests/.runs-on create mode 100644 tests/Testcontainers.CockroachDb.Tests/.runs-on create mode 100644 tests/Testcontainers.Commons/.runs-on create mode 100644 tests/Testcontainers.Consul.Tests/.runs-on create mode 100644 tests/Testcontainers.CosmosDb.Tests/.runs-on create mode 100644 tests/Testcontainers.CouchDb.Tests/.runs-on create mode 100644 tests/Testcontainers.Couchbase.Tests/.runs-on create mode 100644 tests/Testcontainers.Databases.Tests/.runs-on create mode 100644 tests/Testcontainers.Db2.Tests/.runs-on create mode 100644 tests/Testcontainers.DynamoDb.Tests/.runs-on create mode 100644 tests/Testcontainers.Elasticsearch.Tests/.runs-on create mode 100644 tests/Testcontainers.EventHubs.Tests/.runs-on create mode 100644 tests/Testcontainers.EventStoreDb.Tests/.runs-on create mode 100644 tests/Testcontainers.FakeGcsServer.Tests/.runs-on create mode 100644 tests/Testcontainers.FirebirdSql.Tests/.runs-on create mode 100644 tests/Testcontainers.Firestore.Tests/.runs-on create mode 100644 tests/Testcontainers.InfluxDb.Tests/.runs-on create mode 100644 tests/Testcontainers.JanusGraph.Tests/.runs-on create mode 100644 tests/Testcontainers.K3s.Tests/.runs-on create mode 100644 tests/Testcontainers.Kafka.Tests/.runs-on create mode 100644 tests/Testcontainers.Keycloak.Tests/.runs-on create mode 100644 tests/Testcontainers.Kusto.Tests/.runs-on create mode 100644 tests/Testcontainers.LocalStack.Tests/.runs-on create mode 100644 tests/Testcontainers.MariaDb.Tests/.runs-on create mode 100644 tests/Testcontainers.Milvus.Tests/.runs-on create mode 100644 tests/Testcontainers.Minio.Tests/.runs-on create mode 100644 tests/Testcontainers.MongoDb.Tests/.runs-on create mode 100644 tests/Testcontainers.MsSql.Tests/.runs-on create mode 100644 tests/Testcontainers.MySql.Tests/.runs-on create mode 100644 tests/Testcontainers.Nats.Tests/.runs-on create mode 100644 tests/Testcontainers.Neo4j.Tests/.runs-on create mode 100644 tests/Testcontainers.Oracle.Tests/.runs-on create mode 100644 tests/Testcontainers.Oracle11.Tests/.runs-on create mode 100644 tests/Testcontainers.Oracle18.Tests/.runs-on create mode 100644 tests/Testcontainers.Oracle21.Tests/.runs-on create mode 100644 tests/Testcontainers.Oracle23.Tests/.runs-on create mode 100644 tests/Testcontainers.Papercut.Tests/.runs-on create mode 100644 tests/Testcontainers.Platform.Linux.Tests/.runs-on create mode 100644 tests/Testcontainers.Platform.Windows.Tests/.runs-on create mode 100644 tests/Testcontainers.PostgreSql.Tests/.runs-on create mode 100644 tests/Testcontainers.PubSub.Tests/.runs-on create mode 100644 tests/Testcontainers.Pulsar.Tests/.runs-on create mode 100644 tests/Testcontainers.Qdrant.Tests/.runs-on create mode 100644 tests/Testcontainers.RabbitMq.Tests/.runs-on create mode 100644 tests/Testcontainers.RavenDb.Tests/.runs-on create mode 100644 tests/Testcontainers.Redis.Tests/.runs-on create mode 100644 tests/Testcontainers.Redpanda.Tests/.runs-on create mode 100644 tests/Testcontainers.ResourceReaper.Tests/.runs-on create mode 100644 tests/Testcontainers.ServiceBus.Tests/.runs-on create mode 100644 tests/Testcontainers.Sftp.Tests/.runs-on create mode 100644 tests/Testcontainers.Tests/.runs-on create mode 100644 tests/Testcontainers.Weaviate.Tests/.runs-on create mode 100644 tests/Testcontainers.WebDriver.Tests/.runs-on create mode 100644 tests/Testcontainers.Xunit.Tests/.runs-on diff --git a/.github/scripts/Collect-TestProjects.ps1 b/.github/scripts/Collect-TestProjects.ps1 new file mode 100644 index 000000000..295052dfb --- /dev/null +++ b/.github/scripts/Collect-TestProjects.ps1 @@ -0,0 +1,22 @@ +# Retrieves the GH workflow 'runs-on' configuration for each test project. +# During runtime, the strategy is passed to the CI job, allowing test projects to +# run parallel on individual runners. +$testProjects = Get-ChildItem -Path 'tests' -Directory ` + | % { $testProject = $_.Name; Join-Path -Path $_.FullName -ChildPath '.runs-on' } ` + | % { If (Test-Path -LiteralPath $_) { Get-Content -LiteralPath $_ } Else { $Null } } ` + | % { [PSCustomObject]@{ 'name' = ($testProject -Replace '\.Tests$', ''); 'runs-on' = [string]$_ } } + +# Checks if any test project does not contain a valid '.runs-on' configuration. +# If a project is missing this configuration, an error is thrown to prevent +# developers from forgetting to add the configuration. +$runsOnNotFound = $testProjects ` + | Where-Object 'runs-on' -Eq '' ` + | Select-Object -ExpandProperty 'name' + +If ($runsOnNotFound) +{ + Write-Error "Please add a '.runs-on' configuration file to the test project:`n $($runsOnNotFound -Join "`n ")" + Exit 1 +} + +$testProjects | ConvertTo-Json -Compress \ No newline at end of file diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index e12f947b2..c96b73e34 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -27,76 +27,30 @@ env: TZ: CET # https://stackoverflow.com/q/53510011 jobs: + collect-test-projects: + runs-on: ubuntu-22.04 + + outputs: + test-projects: ${{ steps.set-test-projects.outputs.test-projects }} + + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + with: + lfs: true + + - id: set-test-projects + name: Collect Test Projects + shell: pwsh + run: echo "test-projects=$(.github/scripts/Collect-TestProjects.ps1)" >> $env:GITHUB_OUTPUT + ci: + needs: collect-test-projects + strategy: max-parallel: 6 matrix: - test-projects: [ - { name: "Testcontainers", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Platform.Linux", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Platform.Windows", runs-on: "windows-2022" }, - { name: "Testcontainers.Databases", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.ResourceReaper", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.ActiveMq", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.ArangoDb", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Azurite", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.BigQuery", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Bigtable", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Cassandra", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.ClickHouse", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.CockroachDb", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Consul", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.CosmosDb", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Couchbase", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.CouchDb", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Db2", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.DynamoDb", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Elasticsearch", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.EventHubs", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.EventStoreDb", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.FakeGcsServer", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.FirebirdSql", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Firestore", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.InfluxDb", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.JanusGraph", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.K3s", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Kafka", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Keycloak", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Kusto", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.LocalStack", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.LowkeyVault", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.MariaDb", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Milvus", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Minio", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.MongoDb", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.MsSql", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.MySql", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Nats", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Neo4j", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Ollama", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.OpenSearch", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Oracle", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Oracle11", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Oracle18", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Oracle21", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Oracle23", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Papercut", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.PostgreSql", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.PubSub", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Pulsar", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Qdrant", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.RabbitMq", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.RavenDb", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Redis", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Redpanda", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.ServiceBus", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Sftp", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Typesense", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Weaviate", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.WebDriver", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.Xunit", runs-on: "ubuntu-22.04" }, - { name: "Testcontainers.XunitV3", runs-on: "ubuntu-22.04" } - ] + test-projects: ${{ fromJSON(needs.collect-test-projects.outputs.test-projects) }} runs-on: ${{ matrix.test-projects.runs-on }} diff --git a/tests/Testcontainers.ActiveMq.Tests/.runs-on b/tests/Testcontainers.ActiveMq.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.ActiveMq.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.ArangoDb.Tests/.runs-on b/tests/Testcontainers.ArangoDb.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.ArangoDb.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Azurite.Tests/.runs-on b/tests/Testcontainers.Azurite.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Azurite.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.BigQuery.Tests/.runs-on b/tests/Testcontainers.BigQuery.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.BigQuery.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Bigtable.Tests/.runs-on b/tests/Testcontainers.Bigtable.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Bigtable.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Cassandra.Tests/.runs-on b/tests/Testcontainers.Cassandra.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Cassandra.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.ClickHouse.Tests/.runs-on b/tests/Testcontainers.ClickHouse.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.ClickHouse.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.CockroachDb.Tests/.runs-on b/tests/Testcontainers.CockroachDb.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.CockroachDb.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Commons/.runs-on b/tests/Testcontainers.Commons/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Commons/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Consul.Tests/.runs-on b/tests/Testcontainers.Consul.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Consul.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.CosmosDb.Tests/.runs-on b/tests/Testcontainers.CosmosDb.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.CosmosDb.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.CouchDb.Tests/.runs-on b/tests/Testcontainers.CouchDb.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.CouchDb.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Couchbase.Tests/.runs-on b/tests/Testcontainers.Couchbase.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Couchbase.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Databases.Tests/.runs-on b/tests/Testcontainers.Databases.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Databases.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Db2.Tests/.runs-on b/tests/Testcontainers.Db2.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Db2.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.DynamoDb.Tests/.runs-on b/tests/Testcontainers.DynamoDb.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.DynamoDb.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Elasticsearch.Tests/.runs-on b/tests/Testcontainers.Elasticsearch.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Elasticsearch.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.EventHubs.Tests/.runs-on b/tests/Testcontainers.EventHubs.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.EventHubs.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.EventStoreDb.Tests/.runs-on b/tests/Testcontainers.EventStoreDb.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.EventStoreDb.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.FakeGcsServer.Tests/.runs-on b/tests/Testcontainers.FakeGcsServer.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.FakeGcsServer.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.FirebirdSql.Tests/.runs-on b/tests/Testcontainers.FirebirdSql.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.FirebirdSql.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Firestore.Tests/.runs-on b/tests/Testcontainers.Firestore.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Firestore.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.InfluxDb.Tests/.runs-on b/tests/Testcontainers.InfluxDb.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.InfluxDb.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.JanusGraph.Tests/.runs-on b/tests/Testcontainers.JanusGraph.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.JanusGraph.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.K3s.Tests/.runs-on b/tests/Testcontainers.K3s.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.K3s.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Kafka.Tests/.runs-on b/tests/Testcontainers.Kafka.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Kafka.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Keycloak.Tests/.runs-on b/tests/Testcontainers.Keycloak.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Keycloak.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Kusto.Tests/.runs-on b/tests/Testcontainers.Kusto.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Kusto.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.LocalStack.Tests/.runs-on b/tests/Testcontainers.LocalStack.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.LocalStack.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.MariaDb.Tests/.runs-on b/tests/Testcontainers.MariaDb.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.MariaDb.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Milvus.Tests/.runs-on b/tests/Testcontainers.Milvus.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Milvus.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Minio.Tests/.runs-on b/tests/Testcontainers.Minio.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Minio.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.MongoDb.Tests/.runs-on b/tests/Testcontainers.MongoDb.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.MongoDb.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.MsSql.Tests/.runs-on b/tests/Testcontainers.MsSql.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.MsSql.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.MySql.Tests/.runs-on b/tests/Testcontainers.MySql.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.MySql.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Nats.Tests/.runs-on b/tests/Testcontainers.Nats.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Nats.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Neo4j.Tests/.runs-on b/tests/Testcontainers.Neo4j.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Neo4j.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Oracle.Tests/.runs-on b/tests/Testcontainers.Oracle.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Oracle.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Oracle11.Tests/.runs-on b/tests/Testcontainers.Oracle11.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Oracle11.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Oracle18.Tests/.runs-on b/tests/Testcontainers.Oracle18.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Oracle18.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Oracle21.Tests/.runs-on b/tests/Testcontainers.Oracle21.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Oracle21.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Oracle23.Tests/.runs-on b/tests/Testcontainers.Oracle23.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Oracle23.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Papercut.Tests/.runs-on b/tests/Testcontainers.Papercut.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Papercut.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Platform.Linux.Tests/.runs-on b/tests/Testcontainers.Platform.Linux.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Platform.Linux.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Platform.Windows.Tests/.runs-on b/tests/Testcontainers.Platform.Windows.Tests/.runs-on new file mode 100644 index 000000000..4f5dca4cf --- /dev/null +++ b/tests/Testcontainers.Platform.Windows.Tests/.runs-on @@ -0,0 +1 @@ +windows-2022 \ No newline at end of file diff --git a/tests/Testcontainers.PostgreSql.Tests/.runs-on b/tests/Testcontainers.PostgreSql.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.PostgreSql.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.PubSub.Tests/.runs-on b/tests/Testcontainers.PubSub.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.PubSub.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Pulsar.Tests/.runs-on b/tests/Testcontainers.Pulsar.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Pulsar.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Qdrant.Tests/.runs-on b/tests/Testcontainers.Qdrant.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Qdrant.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.RabbitMq.Tests/.runs-on b/tests/Testcontainers.RabbitMq.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.RabbitMq.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.RavenDb.Tests/.runs-on b/tests/Testcontainers.RavenDb.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.RavenDb.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Redis.Tests/.runs-on b/tests/Testcontainers.Redis.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Redis.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Redpanda.Tests/.runs-on b/tests/Testcontainers.Redpanda.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Redpanda.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.ResourceReaper.Tests/.runs-on b/tests/Testcontainers.ResourceReaper.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.ResourceReaper.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.ServiceBus.Tests/.runs-on b/tests/Testcontainers.ServiceBus.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.ServiceBus.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Sftp.Tests/.runs-on b/tests/Testcontainers.Sftp.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Sftp.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Tests/.runs-on b/tests/Testcontainers.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Weaviate.Tests/.runs-on b/tests/Testcontainers.Weaviate.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Weaviate.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.WebDriver.Tests/.runs-on b/tests/Testcontainers.WebDriver.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.WebDriver.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Xunit.Tests/.runs-on b/tests/Testcontainers.Xunit.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Xunit.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file From 310489796e035cc76e582211616b12448550d195 Mon Sep 17 00:00:00 2001 From: Andre Hofmeister <9199345+HofmeisterAn@users.noreply.github.com> Date: Sat, 22 Mar 2025 11:41:42 +0100 Subject: [PATCH 2/5] chore: Remove ContinuousIntegration JobTest --- .../ContinuousIntegration/JobsTest.cs | 35 ------------------- 1 file changed, 35 deletions(-) delete mode 100644 tests/Testcontainers.Tests/ContinuousIntegration/JobsTest.cs diff --git a/tests/Testcontainers.Tests/ContinuousIntegration/JobsTest.cs b/tests/Testcontainers.Tests/ContinuousIntegration/JobsTest.cs deleted file mode 100644 index 8ec9fb10b..000000000 --- a/tests/Testcontainers.Tests/ContinuousIntegration/JobsTest.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace DotNet.Testcontainers.Tests.ContinuousIntegration -{ - using System.IO; - using System.Linq; - using System.Text.RegularExpressions; - using DotNet.Testcontainers.Builders; - using Xunit; - - public sealed partial class JobsTest - { - [GeneratedRegex("name: \"(.+?)\"")] - private static partial Regex ProjectNameRegex(); - - [Fact] - public void AllTestProjectsShouldBeConfiguredForContinuousIntegration() - { - var ciCdFilePath = GetCiCdFilePath(); - - var expectedProjects = File.ReadAllLines(ciCdFilePath).Select(line => ProjectNameRegex().Match(line).Groups[1].Value).Where(line => line.Length > 0).ToList(); - Assert.NotEmpty(expectedProjects); - - var actualProjects = Directory.GetFiles(GetTestsDirectoryPath(), "*.Tests.csproj", SearchOption.AllDirectories).Select(name => Path.GetFileName(name)[..^13]).ToList(); - Assert.NotEmpty(actualProjects); - - var missingConfiguredProjects = actualProjects.Except(expectedProjects).ToList(); - Assert.True(missingConfiguredProjects.Count == 0, $"{string.Join(", ", missingConfiguredProjects)} must be configured in '{ciCdFilePath}'."); - } - - private static string GetCiCdFilePath() => Path.Combine(GetRepositoryDirectoryPath(), ".github", "workflows", "cicd.yml"); - - private static string GetTestsDirectoryPath() => Path.Combine(GetRepositoryDirectoryPath(), "tests"); - - private static string GetRepositoryDirectoryPath() => CommonDirectoryPath.GetSolutionDirectory().DirectoryPath; - } -} From f3137494c45e1f06a5bdebdbc3a03ab559a4331e Mon Sep 17 00:00:00 2001 From: Andre Hofmeister <9199345+HofmeisterAn@users.noreply.github.com> Date: Sat, 22 Mar 2025 13:00:41 +0100 Subject: [PATCH 3/5] fix: Remove .runs-on file --- tests/Testcontainers.Commons/.runs-on | 1 - 1 file changed, 1 deletion(-) delete mode 100644 tests/Testcontainers.Commons/.runs-on diff --git a/tests/Testcontainers.Commons/.runs-on b/tests/Testcontainers.Commons/.runs-on deleted file mode 100644 index 3f3bcfd04..000000000 --- a/tests/Testcontainers.Commons/.runs-on +++ /dev/null @@ -1 +0,0 @@ -ubuntu-22.04 \ No newline at end of file From 017c6e6547d32410c8c8c68d2eddba7f1fe726d9 Mon Sep 17 00:00:00 2001 From: Andre Hofmeister <9199345+HofmeisterAn@users.noreply.github.com> Date: Fri, 3 Oct 2025 09:32:22 +0200 Subject: [PATCH 4/5] chore: Add missing projects --- .github/scripts/Collect-TestProjects.ps1 | 25 ++++++++++++------- .github/scripts/Filter-TestProjects.ps1 | 18 +++++++++++++ .github/workflows/cicd.yml | 2 -- .../Testcontainers.LowkeyVault.Tests/.runs-on | 1 + tests/Testcontainers.Ollama.Tests/.runs-on | 1 + .../Testcontainers.OpenSearch.Tests/.runs-on | 1 + tests/Testcontainers.Typesense.Tests/.runs-on | 1 + tests/Testcontainers.XunitV3.Tests/.runs-on | 1 + 8 files changed, 39 insertions(+), 11 deletions(-) create mode 100644 .github/scripts/Filter-TestProjects.ps1 create mode 100644 tests/Testcontainers.LowkeyVault.Tests/.runs-on create mode 100644 tests/Testcontainers.Ollama.Tests/.runs-on create mode 100644 tests/Testcontainers.OpenSearch.Tests/.runs-on create mode 100644 tests/Testcontainers.Typesense.Tests/.runs-on create mode 100644 tests/Testcontainers.XunitV3.Tests/.runs-on diff --git a/.github/scripts/Collect-TestProjects.ps1 b/.github/scripts/Collect-TestProjects.ps1 index 295052dfb..ed21726ea 100644 --- a/.github/scripts/Collect-TestProjects.ps1 +++ b/.github/scripts/Collect-TestProjects.ps1 @@ -1,22 +1,29 @@ -# Retrieves the GH workflow 'runs-on' configuration for each test project. -# During runtime, the strategy is passed to the CI job, allowing test projects to -# run parallel on individual runners. +<# + .SYNOPSIS + Retrieves the GitHub Actions 'runs-on' configuration for each test project + and ensures all test projects have a valid configuration. + + .DESCRIPTION + Scans all test projects under 'tests', reads '.runs-on' for CI runner configuration, + throws an error if missing, and outputs filtered projects as compressed JSON. +#> + +# Get 'runs-on' configuration for each test project. $testProjects = Get-ChildItem -Path 'tests' -Directory ` + | ? { $_.Name -Match '\.Tests$' } ` | % { $testProject = $_.Name; Join-Path -Path $_.FullName -ChildPath '.runs-on' } ` | % { If (Test-Path -LiteralPath $_) { Get-Content -LiteralPath $_ } Else { $Null } } ` | % { [PSCustomObject]@{ 'name' = ($testProject -Replace '\.Tests$', ''); 'runs-on' = [string]$_ } } -# Checks if any test project does not contain a valid '.runs-on' configuration. -# If a project is missing this configuration, an error is thrown to prevent -# developers from forgetting to add the configuration. +# Validate that all projects have a '.runs-on' configuration. $runsOnNotFound = $testProjects ` | Where-Object 'runs-on' -Eq '' ` | Select-Object -ExpandProperty 'name' -If ($runsOnNotFound) -{ +If ($runsOnNotFound) { Write-Error "Please add a '.runs-on' configuration file to the test project:`n $($runsOnNotFound -Join "`n ")" Exit 1 } -$testProjects | ConvertTo-Json -Compress \ No newline at end of file +# Filter projects and output as compressed JSON. +$testProjects | & (Join-Path $PSScriptRoot 'Filter-TestProjects.ps1') | ConvertTo-Json -Compress diff --git a/.github/scripts/Filter-TestProjects.ps1 b/.github/scripts/Filter-TestProjects.ps1 new file mode 100644 index 000000000..85577d19a --- /dev/null +++ b/.github/scripts/Filter-TestProjects.ps1 @@ -0,0 +1,18 @@ +<# +.SYNOPSIS +Filters test projects for CI workflows. + +.DESCRIPTION +Receives test project objects from the pipeline and returns them. +Currently, all projects are passed through unchanged. +#> + +Param ( + [Parameter(ValueFromPipeline)] + $InputObject +) + +Process { + # Return test projects unchanged. + $InputObject +} diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index c96b73e34..53b64b1bf 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -36,8 +36,6 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v4 - with: - lfs: true - id: set-test-projects name: Collect Test Projects diff --git a/tests/Testcontainers.LowkeyVault.Tests/.runs-on b/tests/Testcontainers.LowkeyVault.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.LowkeyVault.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Ollama.Tests/.runs-on b/tests/Testcontainers.Ollama.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Ollama.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.OpenSearch.Tests/.runs-on b/tests/Testcontainers.OpenSearch.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.OpenSearch.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.Typesense.Tests/.runs-on b/tests/Testcontainers.Typesense.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.Typesense.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file diff --git a/tests/Testcontainers.XunitV3.Tests/.runs-on b/tests/Testcontainers.XunitV3.Tests/.runs-on new file mode 100644 index 000000000..3f3bcfd04 --- /dev/null +++ b/tests/Testcontainers.XunitV3.Tests/.runs-on @@ -0,0 +1 @@ +ubuntu-22.04 \ No newline at end of file From 6a4d58fc059983d0940dd8b53e1929b6d1a37c19 Mon Sep 17 00:00:00 2001 From: Andre Hofmeister <9199345+HofmeisterAn@users.noreply.github.com> Date: Fri, 3 Oct 2025 10:23:17 +0200 Subject: [PATCH 5/5] chore: Ident PS script docs --- .github/scripts/Filter-TestProjects.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/scripts/Filter-TestProjects.ps1 b/.github/scripts/Filter-TestProjects.ps1 index 85577d19a..f3c07e3f9 100644 --- a/.github/scripts/Filter-TestProjects.ps1 +++ b/.github/scripts/Filter-TestProjects.ps1 @@ -1,10 +1,10 @@ <# -.SYNOPSIS -Filters test projects for CI workflows. + .SYNOPSIS + Filters test projects for CI workflows. -.DESCRIPTION -Receives test project objects from the pipeline and returns them. -Currently, all projects are passed through unchanged. + .DESCRIPTION + Receives test project objects from the pipeline and returns them. + Currently, all projects are passed through unchanged. #> Param (