mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 07:38:29 +00:00
* fix: fix test actually running * fix: fix test to not send request to openai * fix: fix linting to remove cli files * fix: exclude only files that breaks black * fix: Fix all Ruff checkings on the code and Fix Test with repeated name * fix: Change linter name on yml file * feat: update pre-commit * feat: remove need for isort on the code * feat: remove black linter * feat: update tests yml to try to fix the tests gh action
33 lines
558 B
YAML
33 lines
558 B
YAML
name: Run Tests
|
|
|
|
on: [pull_request]
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
env:
|
|
OPENAI_API_KEY: fake-api-key
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: "3.10"
|
|
|
|
- name: Install Requirements
|
|
run: |
|
|
sudo apt-get update &&
|
|
pip install poetry &&
|
|
poetry lock &&
|
|
poetry install
|
|
|
|
- name: Run tests
|
|
run: poetry run pytest
|