Skip to content

sudo-bot/action-shunit2

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

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

action-shunit2

A GitHub action for shunit2 and kcov

Build docker image test all binaries

You can find the image on Docker Hub

Docker Pulls

The shunit2 website The Kcov website

Example usage

name: run tests
on: [push]

jobs:
    tests:
        runs-on: ubuntu-latest
        steps:
            - uses: actions/checkout@v2
            - name: run my tests
              uses: sudo-bot/action-shunit2@latest
              with:
                  cli: "./tests/run.sh"

Example usage with a script and kcov

name: run tests
on: [push]

jobs:
    tests:
        runs-on: ubuntu-latest
        steps:
            - uses: actions/checkout@v2
            - name: run my tests
              uses: sudo-bot/action-shunit2@latest
              with:
                  cli: "kcov ./build/coverage ./tests/test.sh"