https://github.com/pyrmont/action-janet-test
A GitHub Action for testing Janet projects
https://github.com/pyrmont/action-janet-test
continuous-integration github-actions janet
Last synced: 2 months ago
JSON representation
A GitHub Action for testing Janet projects
- Host: GitHub
- URL: https://github.com/pyrmont/action-janet-test
- Owner: pyrmont
- Created: 2021-08-30T04:39:43.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-12T22:03:12.000Z (over 1 year ago)
- Last Synced: 2025-03-07T03:30:38.718Z (4 months ago)
- Topics: continuous-integration, github-actions, janet
- Language: Shell
- Homepage:
- Size: 24.4 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# action-janet-test
This action provides the following functionality for GitHub Action users:
- Download Janet binary
- Setup JPM
- Install project dependencies
- Run tests## Usage
```yaml
steps:
- uses: pyrmont/action-janet-test@v5
with:
janet-ver: '1.32.1'
os: 'linux'
cmd-deps: jpm run dev-deps
cmd-test: jpm test
```A user can specify the following inputs:
- `janet-ver` (default: `latest`)
- `os` (default: `linux`)
- `cmd-pre-deps` (default: `jpm clean`)
- `cmd-deps` (default: `jpm deps`)
- `cmd-pre-test` (default: `jpm clean`)
- `cmd-test` (default: `jpm test`)## Example
A repository with an example workflow using this action is available at
[action-janet-test-example][example].[example]: https://github.com/pyrmont/action-janet-test-example "The example repository for this action"