Update README.md #42
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
name: Tests | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
env: | |
BUILD_TYPE: Debug | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Startup Update and Upgrade | |
run: | | |
sudo apt-get update | |
sudo apt-get upgrade | |
- name: Change permissions on Kandle | |
run: | | |
chmod a+x src/kandle.sh | |
- name: Install BATS Submodules | |
run: | | |
git clone https://github.com/bats-core/bats-core.git test/bats | |
git clone https://github.com/bats-core/bats-support.git test/test_helper/bats-support | |
git clone https://github.com/bats-core/bats-assert.git test/test_helper/bats-assert | |
- name: Run Test Suite | |
run: | | |
cd test/test_project | |
./../bats/bin/bats ./../test.bats |