This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
     new 6bd2935  github actions
     new c455eb9  Merge pull request #307 from rotty3000/github.actions
6bd2935 is described below

commit 6bd2935e85d4ee3b815eddc321d403bc8489858e
Author: Raymond Augé <rotty3...@apache.org>
AuthorDate: Tue Jun 23 15:26:44 2020 -0400

    github actions
    
    Signed-off-by: Raymond Augé <rotty3...@apache.org>
---
 .github/workflows/ci.yml | 49 ++++++++++++++++++++++++++++++++++++++++++++++++
 build.xml                |  4 +---
 2 files changed, 50 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..a9f217a
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,49 @@
+#    Licensed under the Apache License, Version 2.0 (the "License");
+#    you may not use this file except in compliance with the License.
+#    You may obtain a copy of the License at
+#
+#        http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing, software
+#    distributed under the License is distributed on an "AS IS" BASIS,
+#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#    See the License for the specific language governing permissions and
+#    limitations under the License.
+
+name: Smoke Test
+
+on:
+  push:
+    branches:
+      - master
+  pull_request:
+    branches:
+      - master
+
+env:
+  LC_ALL: en_US.UTF-8
+
+jobs:
+  JDKxx_Matrix:
+    strategy:
+      fail-fast: false
+      matrix:
+        java: [ 8, 11, 14, 15-ea ]
+        os: [ ubuntu-latest ]
+        include:
+        - os: windows-latest
+          java: 8
+    name: JDK${{ matrix.java }} ${{ matrix.os }}
+    runs-on: ${{ matrix.os }}
+    steps:
+    - name: Git Checkout
+      uses: actions/checkout@v2
+    - name: Set up Java
+      uses: actions/setup-java@v1
+      with:
+        java-version: ${{ matrix.java }}
+    - name: Build
+      run: |
+        ant -noinput echoproperties deploy embed test-nio test-status
+      env:
+        ANT_OPTS: -Dtest.openssl.exists=false -Dtest.excludePerformance=true 
-Dtest.exclude=**/TestHttp2Limits.java,org/apache/catalina/connector/TestRequest.java,org/apache/coyote/http11/filters/TestChunkedInputFilter.java,org/apache/catalina/startup/TestTomcat.java,org/apache/coyote/http2/TestHttp2Timeouts.java,org/apache/catalina/core/TestAsyncContextStateChanges.java,org/apache/catalina/valves/TestStuckThreadDetectionValve.java,org/apache/coyote/http11/TestHttp11Processor.java,org/ap
 [...]
\ No newline at end of file
diff --git a/build.xml b/build.xml
index b1b4fe6..e312594 100644
--- a/build.xml
+++ b/build.xml
@@ -1678,7 +1678,7 @@
            />
         <batchtest todir="${test.reports}" unless="test.entry">
           <!-- Include all by default -->
-          <fileset dir="test" includes="${test.name}">
+          <fileset dir="test" includes="${test.name}" 
excludes="${test.exclude}">
             <!-- Exclude helper classes -->
             <exclude name="**/Tester*.java" />
             <!-- Exclude the tests known to fail -->
@@ -1689,8 +1689,6 @@
             <exclude name="**/*Performance.java" 
if="${test.excludePerformance}" />
             <!-- Exclude tests that Gump can't compile -->
             <exclude name="org/apache/tomcat/buildutil/**" />
-            <!-- Exclude a configurable list of tests -->
-            <exclude name="${test.exclude}" />
           </fileset>
         </batchtest>
       </junit>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to