Skip to content

Add Point repr

Add Point repr #19

Workflow file for this run

name: Continuous Integration
on: [pull_request, workflow_dispatch]
jobs:
lint_and_test:
runs-on: ubuntu-latest
steps:
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: 3.10.8
- name: Check out repository
uses: actions/checkout@v2
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: latest
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v2
with:
path: .venv
key: venv-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction
- name: Lint
run: poetry run make lint
- name: Run tests
run: poetry run make test