Skip to content

Added Pre Commit hook #106

Added Pre Commit hook

Added Pre Commit hook #106

Workflow file for this run

name: Test Package
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v4
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: install poetry
uses: snok/[email protected]
- name: lint
run: make lint
- name: test
run: PYTEST_FLAGS='--cov-report html --cov-report term --cov=pylspclient --cov-branch' make test
- name: upload coverage
uses: actions/upload-artifact@v4
with:
name: coverage
path: ./htmlcov