diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml new file mode 100644 index 0000000..3846903 --- /dev/null +++ b/.github/workflows/qa.yml @@ -0,0 +1,13 @@ +name: QA + +on: [push, pull_request] + +jobs: + run_qa: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + token: ${{ secrets.GITHUB_TOKEN }} + - run: ./test/run-qa.sh + timeout-minutes: 5 diff --git a/test/run-qa.sh b/test/run-qa.sh new file mode 100644 index 0000000..25d0240 --- /dev/null +++ b/test/run-qa.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +# Helper functions for coloring output. +info() { echo -e "\\e[36m$*\\e[0m"; } +error() { echo -e "\\e[31m✗ $*\\e[0m"; } +success() { echo -e "\\e[32m✔ $*\\e[0m"; } + +info "Work in progress..."