diff --git a/.github/workflows/bashtest.sh b/.github/workflows/bashtest.sh new file mode 100755 index 0000000..b4b1295 --- /dev/null +++ b/.github/workflows/bashtest.sh @@ -0,0 +1,30 @@ +#! /usr/bin/env bash + +function runme() { + # set -x # verbose-mode + + python -m pip install --upgrade pip + pip3 install -e . + pip3 install -r requirements.txt + + local git_root="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" + for i in {1..3}; do + git_root=$(dirname $git_root) + done + echo "git_root: $git_root" + + pushd $git_root >/dev/null + git clone https://github.com/kamangir/awesome-bash-cli.git + cd awesome-bash-cli + pip3 install -e . + pip3 install -r requirements.txt + popd >/dev/null + + source $git_root/awesome-bash-cli/bash/abcli.sh ~terraform + + ferfereh test "$@" + + return +} + +runme "$@" diff --git a/.github/workflows/bashtest.yml b/.github/workflows/bashtest.yml new file mode 100644 index 0000000..3ed7f21 --- /dev/null +++ b/.github/workflows/bashtest.yml @@ -0,0 +1,16 @@ +name: bashtest + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Python 3.10 + uses: actions/setup-python@v3 + with: + python-version: "3.10" + - name: Run bash tests + run: | + ./.github/workflows/bashtest.sh diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index f2edf7d..4020d70 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -1,4 +1,4 @@ -name: Pylint +name: pylint on: [push] diff --git a/ferfereh/__init__.py b/ferfereh/__init__.py index 7d063b0..57d25da 100644 --- a/ferfereh/__init__.py +++ b/ferfereh/__init__.py @@ -4,4 +4,4 @@ DESCRIPTION = f"{ICON} 3d-printed graffiti" -VERSION = "1.113.1" +VERSION = "1.114.1"