adjut Makefile for John's local machine; testing automation on github #65
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: test | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
HOOTSIM_PATH: "." | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install requirements | |
run: | | |
sudo apt-get update -q | |
sudo apt-get install libyaml-cpp-dev -y | |
- name: Run tests | |
run: | | |
result=$(make test) | |
echo "$result" | |
echo "::set-output name=test-result::$result" | |