Skip to content

More tests and linting #17

More tests and linting

More tests and linting #17

Workflow file for this run

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 --with dev
- name: Lint code
run: make lint
- name: Check spellings
run: make spell_check
- name: Test code
run: make test
- 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