{"id":28152685,"url":"https://github.com/lando/run-leia-action","last_synced_at":"2025-05-15T05:11:56.076Z","repository":{"id":163024170,"uuid":"637815951","full_name":"lando/run-leia-action","owner":"lando","description":"A GitHub action to run leia tests","archived":false,"fork":false,"pushed_at":"2024-07-22T23:08:42.000Z","size":66,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-06T08:18:39.625Z","etag":null,"topics":["devops","github-actions"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lando.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["lando","pirog"],"patreon":"devwithlando","open_collective":"devwithlando","custom":"https://lando.dev/join"}},"created_at":"2023-05-08T13:20:15.000Z","updated_at":"2024-07-22T23:08:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"b327f35c-ec86-4f69-8426-6635f963ee3b","html_url":"https://github.com/lando/run-leia-action","commit_stats":{"total_commits":21,"total_committers":4,"mean_commits":5.25,"dds":"0.33333333333333337","last_synced_commit":"deae4f2941165749d238109f934071dc452c68a3"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lando%2Frun-leia-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lando%2Frun-leia-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lando%2Frun-leia-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lando%2Frun-leia-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lando","download_url":"https://codeload.github.com/lando/run-leia-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254276451,"owners_count":22043869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["devops","github-actions"],"created_at":"2025-05-15T05:11:55.794Z","updated_at":"2025-05-15T05:11:56.061Z","avatar_url":"https://github.com/lando.png","language":null,"funding_links":["https://github.com/sponsors/lando","https://github.com/sponsors/pirog","https://patreon.com/devwithlando","https://opencollective.com/devwithlando","https://lando.dev/join"],"categories":[],"sub_categories":[],"readme":"# Run Leia Action\n\nThis is a GitHub action that runs [Leia](https://github.com/lando/leia) tests. It will use the `leia` in your `package.json` if it can and if it can't it will fallback to a globally installed version that is configurable with `version`.\n\n## Required Inputs\n\nThese keys must be set correctly for the action to work.\n\n| Name | Description | Example Value |\n|---|---|---|\n| `leia-test` | The Leia test file to parse and run.  | `examples/basics/README.md` |\n\n\u003e **NOTE:** If you want to run multiple tests we recommend you set up a [strategy matrix](https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs). See our [dogfooded tests](https://github.com/lando/run-leia-action/blob/main/.github/workflows/pr-files-tests.yml) for an example.\n\n## Optional Inputs\n\nThese keys are set to sane defaults but can be modified as needed.\n\n| Name | Description | Default | Example |\n|---|---|---|---|\n| `cleanup-header` | The cleanup headers to parse. | `Clean,Tear,Burn` | `Destroy` |\n| `retry` | The amount of times to retry the test. | `1` | `3` |\n| `setup-header` | The setup headers to parse. | `Start,Setup,This is the dawning` | `So it begins!` |\n| `shell` | The shell to use. | `auto` | `bash` |\n| `stdin` | Attach stdin when the tests are run. | `false` | `true` |\n| `test-header` | The test headers to parse. | `Test,Validat,Verif` | `Testing 1 2 3` |\n| `timeout` | The amount of time for the test to run before a timeout, in seconds. | `1800` | `7` |\n| `version` | The fallback global version of Leia to install if no local version is detected. | `latest` | `0.6.5` |\n\n\u003e **NOTE:** Please read Leia's [shell considerations](https://github.com/lando/leia#shell-considerations) for details on how `shell: auto` works.\n\n##  Usage\n\n### Basic Usage\n\n```yaml\n- name: Run Leia Tests\n  uses: lando/run-leia-action@v2\n  with:\n    leia-test: tests/leia-test-1.md\n```\n\n### Advanced Usage\n\n**Everything, everywhere, all at once:**\n\n```yaml\n- name: Run Leia Tests\n  uses: lando/run-leia-action@v2\n  with:\n    leia-test: tests/leia-test-1.md\n    debug: true\n    cleanup-header: Clean\n    retry: 0\n    setup-header: Setup\n    shell: bash\n    stdin: true\n    test-header: Test\n    timeout: 5\n    version: \"^0.6.5\"\n```\n\n## Changelog\n\nWe try to log all changes big and small in both [THE CHANGELOG](https://github.com/lando/run-leia-action/blob/main/CHANGELOG.md) and the [release notes](https://github.com/lando/run-leia-action/releases).\n\n## Releasing\n\nCreate a release and publish to [GitHub Actions Marketplace](https://docs.github.com/en/enterprise-cloud@latest/actions/creating-actions/publishing-actions-in-github-marketplace). Note that the release tag must be a [semantic version](https://semver.org/).\n\n## Maintainers\n\n* [@pirog](https://github.com/pirog)\n* [@reynoldsalec](https://github.com/reynoldsalec)\n\n## Contributors\n\n\u003ca href=\"https://github.com/lando/run-leia-action/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=lando/run-leia-action\" /\u003e\n\u003c/a\u003e\n\nMade with [contrib.rocks](https://contrib.rocks).\n\n## Other Resources\n\n* [Important advice](https://www.youtube.com/watch?v=WA4iX5D9Z64)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flando%2Frun-leia-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flando%2Frun-leia-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flando%2Frun-leia-action/lists"}