Back to Webdriverio

Github Actions

website/docs/GithubActions.md

9.28.01020 B
Original Source

If your repository is hosted on Github, you can use Github Actions to run your tests on Github's infrastructure.

  1. every time you push changes
  2. on every pull request creation
  3. on scheduled time
  4. by manual trigger

In the root of your repository, create a .github/workflows directory. Add a Yaml file, for example .github/workflows/ci.yaml. In there you will configure how to run your tests.

See jasmine-boilerplate for reference implementation, and sample test runs.

yaml
https://github.com/webdriverio/jasmine-boilerplate/blob/master/.github/workflows/ci.yaml

Find out in the Github Docs on more information about creating workflow files.