Skip to content

Merge pull request #902 from ATheorell/bug_fix_new_file_improve #27

Merge pull request #902 from ATheorell/bug_fix_new_file_improve

Merge pull request #902 from ATheorell/bug_fix_new_file_improve #27

Workflow file for this run

name: Poetry 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
- name: Install Poetry
run: |
pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: 'poetry'
# Install dependencies using Poetry
- name: Install dependencies
run: poetry install
# Run unit tests using Poetry
- name: Run unit tests
run: poetry run pytest --cov=gpt_engineer