mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2026-02-18 11:35:39 +01:00
34 lines
613 B
YAML
34 lines
613 B
YAML
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version:
|
|
- "3.8"
|
|
- "3.9"
|
|
- "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
|