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 8ace73f commit 834c891
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ jobs:
- name: Install package
run: |
uv pip install --upgrade pip
uv pip install -e .[test] pytest-xdist # for multiprocessing
uv pip install --system -e .[test] pytest-xdist # for multiprocessing
- name: Test package
run: python -m pytest --doctest-modules --cov=hepstats --cov-report=xml -n auto
Expand Down Expand Up @@ -107,13 +106,16 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install uv
uses: astral-sh/setup-uv@v3

- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
pip install -U -q -e .[docs]
pip list
uv pip install --system -e .[docs]
- name: build docs
run: |
sphinx-build -b html docs docs/_build/html
Expand Down

0 comments on commit 834c891

Please sign in to comment.