Kaynağa Gözat

Github Actions follow-up (#6262)

* Switch all matrix options to TESTLANG

* Rename test to verify

* Correct link in comment
Albert Johnston 4 yıl önce
ebeveyn
işleme
28b0412e38
1 değiştirilmiş dosya ile 14 ekleme ve 61 silme
  1. 14 61
      .github/workflows/build.yml

+ 14 - 61
.github/workflows/build.yml

@@ -9,7 +9,7 @@ jobs:
     runs-on: ubuntu-18.04
     runs-on: ubuntu-18.04
     steps:
     steps:
       # Commit branch/name extraction from:
       # Commit branch/name extraction from:
-      # https://github.community/t/accessing-commit-message-in-pull-request-event/17158/2
+      # https://github.community/t/accessing-commit-message-in-pull-request-event/17158/8
       #
       #
       # We need to fetch more than one commit to be able to access HEAD^2 in case
       # We need to fetch more than one commit to be able to access HEAD^2 in case
       # of a pull request
       # of a pull request
@@ -48,7 +48,7 @@ jobs:
     outputs:
     outputs:
       commit_message: ${{ steps.out.outputs.commit_message }}
       commit_message: ${{ steps.out.outputs.commit_message }}
       branch_name: ${{ steps.out.outputs.branch_name }}
       branch_name: ${{ steps.out.outputs.branch_name }}
-  test:
+  verify:
     needs: setup
     needs: setup
     if: ${{ !contains(needs.setup.outputs.commit_message, '[ci skip]') }}
     if: ${{ !contains(needs.setup.outputs.commit_message, '[ci skip]') }}
     runs-on: ubuntu-18.04
     runs-on: ubuntu-18.04
@@ -56,20 +56,8 @@ jobs:
       matrix:
       matrix:
         include:
         include:
           - TESTLANG: "C"
           - TESTLANG: "C"
+          - TESTLANG: "C++"
           - TESTLANG: "CSharp"
           - TESTLANG: "CSharp"
-          - TESTDIR: "C++/cppcms C++/cpoll_cppsp C++/poco"
-          - TESTDIR: "C++/ffead-cpp"
-          - TESTDIR: "C++/cuehttp"
-          - TESTDIR: "C++/cutelyst"
-          - TESTDIR: "C++/libhttpserver"
-          - TESTDIR: "C++/silicon"
-          - TESTDIR: "C++/lithium"
-          - TESTDIR: "C++/treefrog"
-          - TESTDIR: "C++/ulib"
-          - TESTDIR: "C++/wt"
-          - TESTDIR: "C++/drogon"
-          - TESTDIR: "C++/oatpp"
-          - TESTDIR: "C++/libsniper"
           - TESTLANG: "Clojure"
           - TESTLANG: "Clojure"
           - TESTLANG: "Crystal"
           - TESTLANG: "Crystal"
           - TESTLANG: "D"
           - TESTLANG: "D"
@@ -78,30 +66,11 @@ jobs:
           - TESTLANG: "Elixir"
           - TESTLANG: "Elixir"
           - TESTLANG: "Erlang"
           - TESTLANG: "Erlang"
           - TESTLANG: "FSharp"
           - TESTLANG: "FSharp"
-          - TESTDIR: "Go/chi Go/gin Go/goji Go/aah Go/beego Go/echo Go/gnet"
-          - TESTDIR: "Go/falcore Go/fiber Go/kami Go/martini Go/revel Go/webgo"
-          - TESTDIR: "Go/evio Go/fasthttp Go/go-std Go/atreugo Go/gramework"
-          - TESTDIR: "Go/gearbox Go/goframe Go/clevergo"
+          - TESTLANG: "Go"
           - TESTLANG: "Groovy"
           - TESTLANG: "Groovy"
-          - TESTDIR: "Haskell/ihp"
-          - TESTDIR: "Haskell/snap"
-          - TESTDIR: "Haskell/yesod"
-          - TESTDIR: "Haskell/servant"
-          - TESTDIR: "Haskell/spock"
-          - TESTDIR: "Haskell/warp"
-          - TESTDIR: "Haskell/wizzardo-inline"
-          - TESTDIR: "Haskell/postgrest"
-          - TESTDIR: "Java/act Java/comsat Java/edap-http"
-          - TESTDIR: "Java/activeweb Java/armeria Java/baratine Java/bayou Java/blade Java/curacao Java/dropwizard Java/firenio Java/servicetalk Java/voovan"
-          - TESTDIR: "Java/gemini Java/greenlightning Java/grizzly Java/helidon Java/httpserver Java/jetty Java/jlhttp Java/jooby Java/wicket"
-          - TESTDIR: "Java/light-java Java/minijax Java/nanohttpd Java/netty Java/ninja-standalone Java/officefloor Java/proteus Java/quarkus"
-          - TESTDIR: "Java/rapidoid Java/redkale Java/restexpress Java/revenj-jvm Java/servlet Java/servlet3 Java/smart-socket Java/spark"
-          - TESTDIR: "Java/spring Java/spring-webflux Java/t-io Java/tapestry Java/undertow Java/undertow-jersey Java/vertx Java/vertx-web Java/simple-server"
-          - TESTDIR: "Java/javalin Java/jawn Java/ratpack Java/wizzardo-http Java/jersey"
-          - TESTDIR: "Java/play1 Java/play2-java Java/wildfly-ee"
-          - TESTDIR: "JavaScript/0http JavaScript/express JavaScript/fastify JavaScript/hapi JavaScript/koa"
-          - TESTDIR: "JavaScript/nodejs JavaScript/polkadot JavaScript/restana JavaScript/restify JavaScript/sailsjs"
-          - TESTDIR: "JavaScript/es4x JavaScript/ringojs JavaScript/just"
+          - TESTLANG: "Haskell"
+          - TESTLANG: "Java"
+          - TESTLANG: "JavaScript"
           - TESTLANG: "Julia"
           - TESTLANG: "Julia"
           - TESTLANG: "Kotlin"
           - TESTLANG: "Kotlin"
           - TESTLANG: "Lisp"
           - TESTLANG: "Lisp"
@@ -109,36 +78,20 @@ jobs:
           - TESTLANG: "Mumps"
           - TESTLANG: "Mumps"
           - TESTLANG: "Nim"
           - TESTLANG: "Nim"
           - TESTLANG: "OCaml"
           - TESTLANG: "OCaml"
+          - TESTLANG: "PHP"
           - TESTLANG: "Perl"
           - TESTLANG: "Perl"
-          - TESTDIR: "PHP/php"
-          - TESTDIR: "PHP/comet PHP/kumbiaphp PHP/workerman PHP/webman"
-          - TESTDIR: "PHP/cakephp PHP/codeigniter PHP/fat-free PHP/fuel PHP/phpixie PHP/slim PHP/symfony PHP/yii2 PHP/zend PHP/spiral PHP/duckphp"
-          - TESTDIR: "PHP/amp PHP/hhvm PHP/peachpie PHP/php-ngx PHP/phalcon"
-          - TESTDIR: "PHP/hamlet PHP/laravel PHP/lumen PHP/swoole PHP/ubiquity PHP/hyperf PHP/sw-fw-less PHP/imi PHP/simps PHP/one"
           - TESTLANG: "Prolog"
           - TESTLANG: "Prolog"
-          - TESTDIR: "Python/aiohttp Python/api_hour Python/apidaora Python/blacksheep Python/bottle Python/cherrypy Python/crax Python/django Python/emmett Python/eve Python/falcon Python/fastapi Python/flask"
-          - TESTDIR: "Python/hug Python/japronto Python/klein Python/morepath Python/pyramid Python/quart Python/responder Python/sanic Python/spyne Python/starlette"
-          - TESTDIR: "Python/tornado Python/turbogears Python/uvicorn Python/uwsgi Python/vibora Python/web2py Python/webware Python/weppy Python/wsgi"
-          - TESTDIR: "Ruby/agoo Ruby/grape Ruby/h2o_mruby Ruby/padrino Ruby/rack Ruby/rack-sequel"
-          - TESTDIR: "Ruby/rails Ruby/roda-sequel Ruby/sinatra Ruby/sinatra-sequel"
-          - TESTDIR: "Rust/actix Rust/gotham Rust/hyper Rust/iron Rust/saphir"
-          - TESTDIR: "Rust/may-minihttp Rust/nickel Rust/rocket"
-          - TESTDIR: "Rust/rouille Rust/thruster Rust/tokio-minihttp"
-          - TESTDIR: "Rust/warp-rust"
-          - TESTDIR: "Rust/roa"
-          - TESTDIR: "Rust/ntex"
-          - TESTDIR: "Scala/akka-http Scala/blaze Scala/cask Scala/colossus Scala/finagle"
-          - TESTDIR: "Scala/finatra Scala/finch Scala/http4s"
-          - TESTDIR: "Scala/play2-scala Scala/scalene Scala/youi"
-          - TESTDIR: "Scala/snunit"
-          - TESTDIR: "Scala/vertx-web-scala"
+          - TESTLANG: "Python"
+          - TESTLANG: "Racket"
+          - TESTLANG: "Ruby"
+          - TESTLANG: "Rust"
+          - TESTLANG: "Scala"
           - TESTLANG: "Swift"
           - TESTLANG: "Swift"
           - TESTLANG: "TypeScript"
           - TESTLANG: "TypeScript"
           - TESTLANG: "Ur"
           - TESTLANG: "Ur"
           - TESTLANG: "V"
           - TESTLANG: "V"
-          - TESTLANG: "Vala"
           - TESTLANG: "VB"
           - TESTLANG: "VB"
-          - TESTLANG: "Mumps"
+          - TESTLANG: "Vala"
       # Disable fail-fast to allow all failing frameworks/etc to fail in a
       # Disable fail-fast to allow all failing frameworks/etc to fail in a
       # single build, rather than stopping when the first one fails.
       # single build, rather than stopping when the first one fails.
       fail-fast: false
       fail-fast: false