Skip to content

Commit

Permalink
Merge pull request #10 from PerseusDL/lcerrato-actions-1
Browse files Browse the repository at this point in the history
Create ci.yml
  • Loading branch information
lcerrato authored Nov 23, 2021
2 parents 2770193 + 60f4d5e commit 01a225d
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 01a225d

Please sign in to comment.