This repository has been archived by the owner on Dec 26, 2023. It is now read-only.
add local tests to all the actions #33
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] | |
jobs: | |
local_test_options: | |
runs-on: ubuntu-latest | |
env: | |
BATS_LIB_PATH: "/usr/lib/bats" | |
name: local with options | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup BATS | |
uses: mig4/setup-bats@v1 | |
with: | |
bats-version: 1.10.0 | |
- name: Setup Bats-libs | |
uses: ./ | |
with: | |
support-clean: "false" | |
assert-clean: "false" | |
detik-install: "false" | |
file-install: "true" | |
- name: Execute test to check Bats-support | |
run: | | |
cd /tmp/bats-support/ | |
bats test | |
- name: Execute test to check Bats-assert | |
run: | | |
cd /tmp/bats-assert/ | |
bats test | |
- name: Execute example tests | |
run: | |
bats -T -p tests |