Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
command

GitHub Action

Setup Bats and libs

0.0.2 Pre-release

Setup Bats and libs

command

Setup Bats and libs

A GitHub Action for installing Bats and Bats-libs(support, assert, detik, file)

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup Bats and libs

uses: brokenpip3/setup-bats-libs@0.0.2

Learn more about this action in brokenpip3/setup-bats-libs

Choose a version

Setup Bats Libs

GitHub Action to setup the three major bats libs:

How to use it

Can be used in duo with setup-bats action to setup all the bats libs you need for your CI jobs.

An example:

on: [push]

jobs:
   my_test:
     runs-on: ubuntu-latest
     name: Install Bats common libs
     steps:
       - name: Checkout
         uses: actions/checkout@v2
       - name: Setup BATS
         uses: mig4/setup-bats@v1
       - name: Install Bats-libs
         uses: ./

Inputs