Update CODEOWNERS #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pip install and pytest | |
on: | |
pull_request: | |
branches: [ main ] | |
paths: | |
- "**.py" | |
- "**.yaml" | |
- "**.yml" | |
push: | |
branches: [ main ] | |
paths: | |
- "**.py" | |
- "**.yaml" | |
- "**.yml" | |
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 |