Skip to content

GitHub Actions test validator against list of sample files #61

Description

@will-moore

From discussion at #48 (comment)

It looks like it should be possible to use puppeteer https://pptr.dev/ to run tests from gh actions.

Questions:

  • Where do we deploy the validator (built from the PR) for testing?

    • Use gh-pages? This works OK from a specific branch but is harder to setup from ALL branches / PRs
    • Use netlify? We already deploy there from PRs, but hard to sync that deployment with testing once it's ready
    • Use node to serve the pages "locally" from the test machine? This also needs a lot more investigation
  • What do we want to test?

    • Check that "valid" samples show green check (and no errors)
    • Check that "valid" samples show other UI components?
    • Check that "invalid" samples show the X error if schema catches errors, and other error messages?

cc @joshmoore

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions