Merge pull request #70 from yeger00/start-adding-rename #110
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: 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 |