Files
gpt-engineer/.github/workflows/ci.yaml
Carl Thomé a038117efa Drop Python 3.8 and 3.9
Code assumes Python 3.10 features, so drop 3.8 and 3.9 from testing.
2023-06-18 15:12:36 +02:00

32 lines
577 B
YAML

on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.10"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install package
run: pip install -e .
- name: Install test runner
run: pip install pytest pytest-cov
- name: Run unit tests
run: pytest --cov=gpt_engineer