Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianschoeppach committed Oct 16, 2024
1 parent b0dd96b commit c84902f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
uv pip install --upgrade pip
uv pip install '.[dev]' --index-url https://gitlab.mpcdf.mpg.de/api/v4/projects/2187/packages/pypi/simple
uv pip install coverage coveralls
env:
# uv pip requires a venv by default
# allows installating packages in the system env
UV_SYSTEM_PYTHON: 1
- name: Test with pytest
run: |
python -m coverage run -m pytest -sv
Expand All @@ -43,9 +47,7 @@ jobs:
uses: astral-sh/setup-uv@v3
- name: Build the package
run: |
uv pip install --upgrade pip
uv pip install build
uv python -m build --sdist
uv build --sdist
- name: Install the package
run: |
uv pip install dist/*.tar.gz --index-url https://gitlab.mpcdf.mpg.de/api/v4/projects/2187/packages/pypi/simple
Expand Down

0 comments on commit c84902f

Please sign in to comment.