From 60f4d5ecc5d6b695720d1d2780e03ac5a0155811 Mon Sep 17 00:00:00 2001 From: Lisa Cerrato Date: Tue, 23 Nov 2021 14:48:56 -0500 Subject: [PATCH] Create ci.yml --- .github/workflows/ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..b62c315 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,31 @@ +name: Scaife-Ready + +# Start CI when Commit is pushed to Master +on: + push: + branches: [ master ] +jobs: + hooktest: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + # Setup Python + - name: Set up Python 3.x + uses: actions/setup-python@v2 + with: + # Semantic version range syntax or exact version of a Python version + python-version: '3.x' + # Display Version + - name: Install Hooktest + run: pip3 install HookTest + - name: Run Hooktest + run: hooktest ./ --console table --scheme epidoc --workers 3 --verbose 10 --countword + release-on-push: + runs-on: ubuntu-latest + needs: hooktest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + steps: + - uses: rymndhng/release-on-push-action@master + with: + bump_version_scheme: minor