Skip to content

Webhook implementation #66

Webhook implementation

Webhook implementation #66

Workflow file for this run

name: Test CI
on:
# Triggers the workflow on push and pull request events but only for pull_requests on the main branch
push:
branches:
- main
pull_request:
branches:
- main
# Allows you to run this workflow manually
workflow_dispatch:
jobs:
mypy:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies using pip
run: pip install -e ".[dev]"
- name: Checking static types using mypy
run: mypy --strict tests
pytest:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install project dependencies
run: |
pip install pdm
pdm install -G dev
- name: Testing using pytest
run: pdm run pytest tests