Skip to content

A GitHub Action for testing Janet projects

Notifications You must be signed in to change notification settings

pyrmont/action-janet-test

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

action-janet-test

This action provides the following functionality for GitHub Action users:

  • Download Janet binary
  • Setup JPM
  • Install project dependencies
  • Run tests

Usage

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.