Skip to content

Commit

Permalink
ci: fix versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-eschle committed Nov 9, 2024
1 parent 8eb4b0c commit 99f9d94
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,10 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
# - name: Setup Python ${{ matrix.python-version }}
# uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.python-version }}
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Get pip cache dir
id: pip-cache
Expand All @@ -69,6 +65,7 @@ jobs:
- name: Install package
run: |
pip install uv
uv pip install --system .[test] pytest-xdist # for multiprocessing
- name: Test package
Expand Down Expand Up @@ -108,13 +105,14 @@ jobs:
with:
fetch-depth: 0

- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Setup Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9

- name: Set up Python 3.9
run: uv python install 3.9
- name: Install dependencies
run: |
pip install uv
uv pip install --system .[docs]
- name: build docs
run: |
Expand Down

0 comments on commit 99f9d94

Please sign in to comment.