Skip to content

Tweak context prompt to avoid 'what language?' when language is the c… #68

Tweak context prompt to avoid 'what language?' when language is the c…

Tweak context prompt to avoid 'what language?' when language is the c… #68

Workflow file for this run

name: Python type checks and tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install -e .[test]
- name: Type check with mypy
run: |
mypy
- name: Test with pytest
run: |
pytest