Skip to content

Commit

Permalink
🔧 Update Python versions, indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
shroominic committed Feb 2, 2024
1 parent 3eb7da8 commit 5e1f2f4
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/code-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ jobs:
pre-commit:
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
python-version: ["3.10", "3.11"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: eifinger/setup-rye@v1
with:
enable-cache: true
cache-prefix: 'venv-funcchain'
- name: pin version
run: rye pin ${{ matrix.python-version }}
- name: Sync rye
run: rye sync
- name: Run pre-commit
run: rye run pre-commit run --all-files
- name: Run tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: rye run pytest -m "not skip_on_actions"
- uses: actions/checkout@v2
- uses: eifinger/setup-rye@v1
with:
enable-cache: true
cache-prefix: "venv-funcchain"
- name: pin version
run: rye pin ${{ matrix.python-version }}
- name: Sync rye
run: rye sync
- name: Run pre-commit
run: rye run pre-commit run --all-files
- name: Run tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: rye run pytest -m "not skip_on_actions"

0 comments on commit 5e1f2f4

Please sign in to comment.