Skip to content

Automated Checks with Github Actions

Automate model checks with the generate verifyml report action. Use this to ensure that the updated model passes all required test cases before being committed to the main / master branch.

The Github action automatically reads the Protobuf dataset from a specified path in the local repository and displays the test results as a comment in the pull request. It also generates a Model Card Viewer link for users to view the model card data.

To use the action, simply create a verifyml-reports.yml file within .github/workflows with the following content:

name: Generate VerifyML Report

      - "*"

    runs-on: ubuntu-latest

      - name: Checkout to Current Branch
        uses: actions/checkout@v2

      - name: Generate VerifyML Report
        uses: cylynx/verifyml-reports@v1
          data-path: "path-to-model-card-file.proto"

Replace the data-path attribute with the path to your model card file.

Each pull request made will check all tests listed in the quantitative analysis, explainability analysis, or fairness analysis section of the model card and produce a summary report of the test results: