From 4aba1fa69a7840a43482d7cb8691f34c553465d5 Mon Sep 17 00:00:00 2001 From: myifeng Date: Tue, 4 Jun 2024 10:22:47 +0800 Subject: [PATCH] Update python-ci.yml --- .github/workflows/python-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index 8d5c862..761799b 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -25,9 +25,10 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pytest setuptools wheel twine + pip install pytest setuptools wheel twine build if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Build and test run: | - python setup.py install sdist bdist_wheel + python -m build + pip install dist/article_parser-*.whl pytest --disable-warnings