Skip to content

Commit 1717ef9

Browse files
ci: streamline coverage and install flags (#71)
1 parent 8e7b800 commit 1717ef9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,13 @@ jobs:
3939
echo "$HOME/.local/bin" >> $GITHUB_PATH
4040
4141
- name: Install dependencies
42-
run: poetry install --with dev
42+
run: poetry install --with dev --no-interaction --no-root
4343

4444
- name: Run tests with coverage
4545
run: poetry run pytest --cov=gen_surv --cov-report=xml --cov-report=term
4646

4747
- name: Upload coverage to Codecov
48+
if: matrix.python-version == '3.11'
4849
uses: codecov/codecov-action@v5
4950
with:
5051
files: coverage.xml
@@ -75,7 +76,7 @@ jobs:
7576
echo "$HOME/.local/bin" >> $GITHUB_PATH
7677
7778
- name: Install dependencies
78-
run: poetry install --with dev --no-root
79+
run: poetry install --with dev --no-interaction --no-root
7980

8081
- name: Run pre-commit checks
8182
run: poetry run pre-commit run --all-files

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ git clone https://github.com/DiogoRibeiro7/genSurvPy.git
5151
cd genSurvPy
5252
# Install runtime and development dependencies
5353
# (scikit-survival is optional but required for integration tests).
54-
# On Debian/Ubuntu you may need ``build-essential gfortran libopenblas-dev`` to
54+
# On Debian/Ubuntu you may need `build-essential gfortran libopenblas-dev` to
5555
# build scikit-survival.
5656
poetry install --with dev
5757
```

0 commit comments

Comments
 (0)