OpenSCENARIO checker action
ActionsThis action checks directories with OpenSCEANRIO files.
Required Configuration file for check
Required Base directory to check
Not Required JAR file with the packed checker rules see here
Example output:
*******************************************
* ASAM OpenSCENARIO 1.0 CI Checker (2020) *
*******************************************
Used Parameters:
exampleBoolean true
exampleDateTime 2018-02-24T10:00:00
exampleDouble 2.0
exampleInteger 2
exampleString injected
exampleUnsignedInt 2
exampleUnsignedShort 2
Checking '..\..\doc\examples\ciExampleCustomChecker\directoryToCheck\Catalogs\DriverCatalog.xosc'
WARNING: Major revision and minor revision are expected to be 1 and 0 (19,2)
Validation succeeded with 0 errors and 1 warnings.
Checking '..\..\doc\examples\ciExampleCustomChecker\directoryToCheck\Catalogs\RouteCatalog.xosc'
WARNING: Major revision and minor revision are expected to be 1 and 0 (19,2)
Validation succeeded with 0 errors and 1 warnings.
Checking '..\..\doc\examples\ciExampleCustomChecker\directoryToCheck\Catalogs\VehicleCatalog.xosc'
WARNING: Major revision and minor revision are expected to be 1 and 0 (19,2)
Validation succeeded with 0 errors and 1 warnings.
Checking '..\..\doc\examples\ciExampleCustomChecker\directoryToCheck\simpleImport.xosc'
WARNING: Major revision and minor revision are expected to be 1 and 0 (19,2)
Validation succeeded with 0 errors and 1 warnings.
Exit code: 1
See this example
See here
name: OpenSCENARIO Checker CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Checker Job
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: OpenSCENARIO checker action
uses: ahege/openscenario.ci.test@v2
with:
CONF_FILE: conf/conf.yml
BASE_DIR: targetFolder
CHECKER_JAR_FILE: conf/net.asam.openscenario.checker.example-0.9.0.jar
OpenSCENARIO checker action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.