Skip to content

Commit

Permalink
use uv for CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
amorison committed Aug 26, 2024
1 parent 567df56 commit fba5f18
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: tox CI
name: CI

on:
push:
Expand All @@ -9,23 +9,21 @@ on:
workflow_call:

jobs:
tox:
ci:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
py: ['3.8', '3.9', '3.10', '3.11', '3.12']
env:
UV_PYTHON: ${{ matrix.py }}

steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py }}
- name: Update pip
run: python3 -m pip install -U pip
- name: Install tox-gh
run: python3 -m pip install tox-gh>=1.3.1 tox>=4.14
- name: Run tox
run: tox run
- uses: extractions/setup-just@v2
- name: set up uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: set up env with uv
run: uv sync
- name: Run all checks
run: just check-all

0 comments on commit fba5f18

Please sign in to comment.