Skip to content

liquidz/babashka-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

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Babashka Test Action

Github Action to run clojure.test by Babashka.

Inputs

Name Required Default Description

source-paths

Yes

"src"

Source paths (space separated)

test-paths

Yes

"test"

Test paths (space separated)

test-file-pattern

Yes

"_test.clj$"

Pattern for test files.

Example usage

- uses: liquidz/[email protected]
  with:
    source-paths: 'src'
    test-paths: 'test'
    test-file-pattern: '_test.clj$'

Local usage

With docker, you can use this action in your local machine.

$ docker run --rm -v $(pwd):/tmp -w /tmp uochan/babashka-test 'src' 'test' '_test.clj$'

License

Copyright (c) 2020-2021 Masashi Iizuka

Distributed under the MIT License.