Skip to content

Commit

Permalink
πŸ”„ Switch to Rye, update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
shroominic committed Nov 22, 2023
1 parent a65df94 commit 6d56555
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/code-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry and dependencies
run: curl -sSL https://install.python-poetry.org | python3 - && poetry install
run: curl -sSf https://rye-up.com/get | bash && rye sync
- name: Run pre-commit
run: poetry run pre-commit run --all-files
run: rye run pre-commit run --all-files
- name: Run tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: poetry run pytest
run: rye run pytest

0 comments on commit 6d56555

Please sign in to comment.