Skip to content

Commit df7a417

Browse files
Copilotypriverol
andauthored
ci: fix python-app.yml to use python -m build instead of poetry
Agent-Logs-Url: https://github.com/bigbio/quantms-utils/sessions/56c363e3-440c-4fa7-904b-542e16a3864d Co-authored-by: ypriverol <52113+ypriverol@users.noreply.github.com>
1 parent 29bce25 commit df7a417

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip
29-
python -m pip install flake8 pytest
29+
python -m pip install flake8 pytest build
3030
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
31-
pip install poetry
32-
poetry build
31+
python -m build
3332
pip install dist/*.whl
3433
- name: Lint with flake8
3534
run: |
@@ -39,4 +38,4 @@ jobs:
3938
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
4039
- name: Test with pytest
4140
run: |
42-
poetry run pytest
41+
pytest

0 commit comments

Comments
 (0)