Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

Commit 91d54c1

Browse files
committed
add README.md
1 parent 2645bfa commit 91d54c1

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

.github/workflows/test-local-action.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
uses: actions/checkout@v2
1010
- name: Setup BATS
1111
uses: mig4/setup-bats@v1
12-
- name: Install Bats-support
12+
- name: Install Bats-libs
1313
uses: ./
1414
with:
1515
support-clean: "false"

README.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Setup Bats Libs
2+
3+
GitHub Action to setup the three major [bats](https://github.com/bats-core/bats-core) libs:
4+
5+
* [bats-support](https://github.com/bats-core/bats-support)
6+
* [bats-assert](https://github.com/bats-core/bats-assert)
7+
* [bats-detik](https://github.com/bats-core/bats-detik)
8+
9+
## How to use it
10+
11+
Can be used in duo with [setup-bats](https://github.com/mig4/setup-bats) action
12+
to setup all the bats libs you need for your CI jobs.
13+
14+
An example:
15+
16+
``` yaml
17+
on: [push]
18+
19+
jobs:
20+
my_test:
21+
runs-on: ubuntu-latest
22+
name: Install Bats common libs
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v2
26+
- name: Setup BATS
27+
uses: mig4/setup-bats@v1
28+
- name: Install Bats-libs
29+
uses: ./
30+
```
31+
32+
## Inputs

0 commit comments

Comments
 (0)