[0.23.5] - health entity pickup #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Norminette CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
norminette: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install Norminette | |
run: pip install norminette | |
- name: Run Norminette | |
id: norminette | |
run: norminette ./src/ | |
continue-on-error: true | |
- name: Create status badge | |
if: always() | |
run: | | |
if [ "${{ steps.norminette.outcome }}" == "success" ]; then | |
echo "" > badge.md | |
else | |
echo "" > badge.md | |
fi | |
- name: Upload status badge | |
if: always() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: badge | |
path: badge.md |