Skip to content

Merge pull request #61 from yeger00/coverage-badge #92

Merge pull request #61 from yeger00/coverage-badge

Merge pull request #61 from yeger00/coverage-badge #92

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@v2
with:
name: coverage
path: ./htmlcov