Sign inSign up

uochan/babashka-test

By uochan

•Updated over 5 years ago

Image
0

1.2K

uochan/babashka-test repository overview

= Babashka Test Action

Github Action to run clojure.test by https://github.com/borkdude/babashka[Babashka⁠].

== Inputs

[cols="20,10,20,50"] |=== | 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

⁠[source,yaml]

  • 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.

⁠https://hub.docker.com/repository/docker/uochan/babashka-test[Docker⁠ image] [source,shell]

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

== License

Copyright (c) 2020-2021 http://twitter.com/uochan[Masashi⁠ Iizuka]

Distributed under the MIT License.

Tag summary

Content type

Image

Digest

Size

97.7 MB

Last updated

over 5 years ago

docker pull uochan/babashka-test