Files
gpt-engineer/.github/workflows/ci.yaml
Anton Osika f159dc45f2 First step in making gpt-engineer learn. Rename main_prompt -> prompt (#381)
* First step in collecting learnings

* Rename prompts

* remove requirements, use pip install -e . instead

* Add requirements

* Fix tests
2023-06-24 17:53:04 +02:00

31 lines
555 B
YAML

name: Pip install and pytest
on:
pull_request:
branches: [main]
paths:
- "**.py"
push:
branches: [main]
paths:
- "**.py"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
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