Skip to content

GitHub action to validate a Soar project code against its datamap using VisualSoar

License

Notifications You must be signed in to change notification settings

SoarGroup/check_soar_datamap_action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Soar Datamap Validation

This action checks the productions in a Soar project against their datamap using VisualSoar.

Inputs

Name Description Required Default
projectPath Path to the Soar project file to validate, relative to your project root. Yes
outputPath Path to the output file where the validation results will be saved (in JSON lines format). No ${{ runner.temp }}/visualsoar_dm_validation_log.jsonl

Outputs

Name Description
outputPath Path to the output file where the validation results were saved (in JSON lines format).

Example Usage

name: Validate Soar Project

on:
  push:
    paths:
      - "path/to/soar/project/**"

jobs:
  validate:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v3

      - name: Run VisualSoar Validation
        uses: SoarGroup/[email protected]
        with:
          projectPath: "path/to/soar/project/thor-soar.vsa.json"

Outputs

This action does not currently produce action outputs. If the validation fails, the action will be annotated with the diagnostics provided by VisualSoar, and the step itself will fail the build.

About

GitHub action to validate a Soar project code against its datamap using VisualSoar

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages