Skip to content

Commit

Permalink
CI: fix cov and sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
MuellerSeb committed Jul 12, 2024
1 parent 803dfc3 commit 80f25e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,15 @@ jobs:
with:
python-version: ${{ matrix.ver.py }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Install GSTools-Cython
env:
GSTOOLS_BUILD_PARALLEL: 1
run: |
python -m pip install --upgrade pip
pip install -v --editable .[test]
- name: Run tests
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ doc = [
"sphinx>=7",
"sphinx-rtd-theme>=2",
]
test = ["pytest-cov>=3"]
test = [
"pytest-cov>=3",
"Cython>=3.0.10,<3.1.0",
]
lint = [
"black>=24",
"pylint",
Expand Down

0 comments on commit 80f25e3

Please sign in to comment.