Merge pull request #13 from docugami/kenzie/add-video #44
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: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the code | |
uses: actions/checkout@v3 | |
- name: Install Poetry | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
shell: bash | |
- name: Install dependencies | |
run: poetry install | |
- name: Lint code | |
run: make lint | |
- name: Check PR status | |
run: | | |
if [ -n "$(git diff --name-only ${{ github.base_ref }}..${{ github.head_ref }})" ]; then | |
echo "Changes detected. Please make sure to push all changes to the branch before merging."; | |
exit 1; | |
fi |