Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
juztamau5 committed Mar 10, 2024
1 parent 56dfa5d commit 0620d9d
Showing 1 changed file with 1 addition and 33 deletions.
34 changes: 1 addition & 33 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
uses: actions/cache@v4
with:
path: openai
key: ${{ runner.os }}-cache-openai-${{ matrix.python-version }}-${{ hashFiles('openai/**') }}
key: ${{ runner.os }}-cache-openai-${{ matrix.python-version }}-${{ hashFiles('openai/**') }}-

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand All @@ -63,35 +63,3 @@ jobs:
cd ../../openai
cmake .
make -j
- name: Install poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Configure Poetry
run: |
poetry config virtualenvs.create false
- name: Install Python dependencies
run: |
poetry install
- name: Check formatting with Black
run: |
poetry run black --check .
- name: Lint with Flake8
run: |
poetry run flake8 .
- name: Sort imports with isort
run: |
poetry run isort . --check-only
- name: Type check with mypy
run: |
poetry run mypy .
- name: Run test cases
run: |
poetry run pytest

0 comments on commit 0620d9d

Please sign in to comment.