Skip to content

Bump Bats to 1.11.1 #343

Bump Bats to 1.11.1

Bump Bats to 1.11.1 #343

Workflow file for this run

name: Testing
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
test:
name: Run Bats tests
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/[email protected]
- name: Install Pandoc
uses: pandoc/actions/[email protected]
with:
version: 3.5
- name: Install Bats
id: setup-bats
uses: bats-core/[email protected]
with:
bats-version: v1.11.1
support-path: ${{ github.workspace }}/tests/bats-support
assert-path: ${{ github.workspace }}/tests/bats-assert
detik-path: ${{ github.workspace }}/tests/bats-detik
file-path: ${{ github.workspace }}/tests/bats-file
- name: Install other dependencies
run: |
echo "::group::Install graphviz"
sudo apt-get install graphviz
echo "::endgroup::"
echo "::group::Install inotify-tools"
sudo apt-get install inotify-tools
echo "::endgroup::"
- name: Run tests
env:
BATS_LIB_PATH: ${{ steps.setup-bats.outputs.lib-path }}
run: bats --tap test