Skip to content

Warning

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

Setup Bats and libs

Actions
A GitHub Action for installing Bats and Bats-libs(support, assert, detik, file)
0.0.3
Pre-release
Star (12)

Tags

 (1)

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: Setup Bats libs
         uses: brokenpip3/[email protected]

Inputs

Bats-support

  • support-version: Bats-support version, default to latest

    • required: false
    • default: 0.3.0
  • support-path: Bats-support path

    • required: false
    • default: /usr/lib/bats-support

Bats-assert

  • assert-version: Bats-assert version, default to latest

    • required: false
    • default: 0.2.0
  • assert-path: Bats-assert path

    • required: false
    • default: /usr/lib/bats-assert

Bats-detik

  • detik-version: Bats-detik version, default to latest

    • required: false
    • default: 1.1.0
  • detik-path: Bats-detik path

    • required: false
    • default: /usr/lib/bats-detik

Setup Bats and libs is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

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

Tags

 (1)

Setup Bats and libs is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.