Set up Github Actions CI (#440)

* Adjust tests: update Pip URLs, update expected output to match newer code
* Test library: improve failure message to eliminate the illusion of extra leading space in "actual" output
* Use Bats 1.2.0 like Pyenv
* Install greadlink for old MacOS
* Delete duplicate test
This commit is contained in:
native-api
2022-10-12 21:30:36 +03:00
committed by GitHub
parent 4054162a1c
commit 0a1839d22a
6 changed files with 51 additions and 40 deletions

View File

@@ -74,8 +74,10 @@ assert_failure() {
assert_equal() {
if [ "$1" != "$2" ]; then
{ echo "expected: $1"
echo "actual: $2"
{ echo "expected:"
echo "$1"
echo "actual:"
echo "$2"
} | flunk
fi
}