Skip to content

Rename nata to nata.sh #2

Rename nata to nata.sh

Rename nata to nata.sh #2

Workflow file for this run

on:
pull_request:
branches:
- main
paths:
- "src/nata/"
- "examples/config.json"
push:
branches:
- main
paths:
- "src/nata"
- "examples/config.json"
jobs:
my_test:
runs-on: ubuntu-latest
name: Install Bats and Run Tests
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Bats and Bats Libraries
id: setup-bats
uses: bats-core/[email protected]
with:
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: Run Bats Tests
shell: bash
env:
BATS_LIB_PATH: ${{ steps.setup-bats.outputs.lib-path }}
TERM: xterm
run: bats test/test.bats