Setup Bats and libs
ActionsA GitHub Action for installing Bats and Bats-libs(support, assert, detik, file)
0.0.3
Pre-releaseBy brokenpip3
Tags
(1)GitHub Action to setup the three major bats libs:
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]
-
support-version
: Bats-support version, default to latest- required:
false
- default:
0.3.0
- required:
-
support-path
: Bats-support path- required:
false
- default:
/usr/lib/bats-support
- required:
-
assert-version
: Bats-assert version, default to latest- required:
false
- default:
0.2.0
- required:
-
assert-path
: Bats-assert path- required:
false
- default:
/usr/lib/bats-assert
- required:
-
detik-version
: Bats-detik version, default to latest- required:
false
- default:
1.1.0
- required:
-
detik-path
: Bats-detik path- required:
false
- default:
/usr/lib/bats-detik
- required:
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.