A GitHub Action to run Karate tests.
| Input | Description |
|---|---|
| url | URL to pass as script variable to a feature test |
| test | One or more files or directories containing Karate tests |
| options | Any command line options to pass to Karate |
steps:
- name: Checkout
uses: actions/[email protected]
- name: API tests
uses: erikbos/karate-action@main
with:
url: https://api.isevenapi.xyz/api/
tests: |
example-tests/even-numbers.feature
example-tests/odd-numbers.featureSee example api test workflow which runs two Karate feature tests from the example-tests directory.