GithubHelp home page GithubHelp logo

gdams / run-aqa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adoptium/run-aqa

1.0 1.0 0.0 364 KB

Repository for the Github Action that enables the running of the AdoptOpenJDK Quality Assurance (AQA) tests

License: MIT License

TypeScript 97.77% JavaScript 2.23%

run-aqa's Introduction

RunAQA tests

An action to run AQA tests with specific JDK on specific platform

Usage

See action.yml

Default upstream action build JDK: run openjdk test _jdk_math against upstream action build JDK

    steps:
    - uses: actions/checkout@v1
     - name: Build Openj9 JDK
       id: buildOpenj9
       uses: eclipse/build-openj9@v1
       with:
         version: '8'
    - name: AQA
      uses: adoptium/run-aqa@v1
      env:
         TEST_JDK_HOME: ${{ steps.buildOpenj9.outputs.BuildOpenJ9JDK }}
      with: 
        build_list: 'openjdk'
        target: '_jdk_math'

You can also:

  • run functional, external, system, perf tests
  • run different level target

Customized JDK

run openjdk test _jdk_math against customized JDK, jdk setup by actions/setup-java

    - uses: actions/setup-java@v1
      with:
        java-version: '11' # The JDK version to make available on the path.
    - name: AQA
      uses: adoptium/run-aqa@v1
      with: 
        version: '11'
        jdksource: 'customized'
        build_list: 'openjdk'
        target: '_jdk_math'

run openjdk test _jdk_math against customized JDK, jdk installed by AdoptOpenJDK/install-jdk using JDKs are downloaded from AdoptOpenJDK

    - uses: AdoptOpenJDK/install-jdk@v1
      with:
        version: '11'
        targets: 'JDK_11'
        impl: 'openj9'
    - name: AQA
      uses: adoptium/run-aqa@v1
      with: 
        version: '11'
        jdksource: 'customized'
        build_list: 'openjdk'
        target: '_jdk_math'

Github-hosted JDK: run openjdk test _jdk_math against installed JDK on Github-hosted virtual machine

    steps:
    - uses: actions/checkout@v1
    - name: AQA
      uses: adoptium/run-aqa@v1
      with: 
        version: '11'
        jdksource: 'github-hosted'
        build_list: 'openjdk'
        target: '_jdk_math'

Work with upload-artifact to upload test outputs if there are test failures

    - uses: actions/upload-artifact@v2-preview
      if: failure()
      with:
        name: test_output
        path: ./**/test_output_*/

Configuration:

Parameter Default
version 8
build_list openjdk
target _jdk_math
custom_target
jdksource upstream
openjdk_testRepo aqa-tests:master
tkg_Repo TKG:master

version

The Java version that tests are running against (Supported values are: 8, 9, 10, 11, 12, 13, ...) By default, this action will run against upstream jdk build action installed JDK. Specifying this parameter is required when jdksource is not upstream.

build_list

Test category. The values are openjdk, functional, system, perf, external.

target

Specific testcase name or different test level under build_list

custom_target

Set customized testcase when any custom target is selected(e.g. jdk_custom, langtools_custom, etc) , path to the test class to execute

jdksource

THe source of test against JDK. Default is upstream. Supported value is [upstream, install-jdk, github-hosted]

aqa_testRepo

aqa-tests git repo, that holds the definitions for the AQA test suite. Parameter can be set to use developer's personal repo.

tkg_Repo

TKG git repo, the underlying framework for the AQA test suite. Parameter can be set to use developer's personal repo.

run-aqa's People

Contributors

sophia-guo avatar smlambert avatar karianna avatar dependabot[bot] avatar renfeiw avatar

Stargazers

ramdhanfamilysr@gmail.com avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.