Skip to content

JJ/raku-test-action

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

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action for testing Raku modules/distributions

Available from Github Action marketplace

Use it in your Raku modules like so:

on: [ push, pull_request ]
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: Test via install
        uses: JJ/raku-test-action@v2

It will install dependencies, test, and then cache installation so you don't have to do it again in the future. It's using the latest version of Raku, whatever that is at the moment.

if you want to include coverage in the tests, use this:

on: [ push, pull_request ]
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: Test + coverage
        with:
          coverage: true
        uses: JJ/raku-test-action@v2

You can also use the @main if you want to be on the bleeding edge, but it's not totally stable.

Version history

v2

Addresses Github's-own actions deprecation.

v2.1

Upgrades GitHub actions

v1

Initial release