Test Webhook #9
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: Python Package | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Poetry | |
run: | | |
pip install poetry | |
- name: Poetry Version | |
run: | | |
poetry --version | |
- name: Poetry Install Dependencies | |
run: | | |
poetry install --no-interaction | |
- name: Run tests with pytest | |
run: | | |
poetry run pytest | |
- name: Run type checking with mypy | |
run: | | |
poetry run mypy ply_processor_basics |