Skip to content

Merge pull request #234 from cj81499/dependabot/pip/lark-1.1.7 #776

Merge pull request #234 from cj81499/dependabot/pip/lark-1.1.7

Merge pull request #234 from cj81499/dependabot/pip/lark-1.1.7 #776

name: Python Package
on:
push:
branches:
- main
pull_request:
merge_group:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- name: Checkout Repo
uses: actions/[email protected]
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Set up Poetry
uses: snok/[email protected]
- name: Install Dependencies
run: poetry install
- name: Check types
run: poetry run mypy .
- name: Run tests
run: poetry run pytest --cov=. --cov-report=xml
# consider uploading only for one python version
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3