mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2026-01-13 18:05:27 +01:00
32 lines
577 B
YAML
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
|