From 3c69e2267650c6f818b5372ef3545e5c252f4384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Mind=C3=AAllo=20de=20Andrade?= Date: Wed, 15 May 2024 13:21:06 +0000 Subject: [PATCH] chore(ci): fixed missing arg --- .github/workflows/python-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml index 2ddb7709..eb66f5d6 100644 --- a/.github/workflows/python-build.yml +++ b/.github/workflows/python-build.yml @@ -26,7 +26,7 @@ jobs: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Build midea-local run: | - python build + python -m build pip install dist/midea_local*.whl - name: Lint with flake8 run: | @@ -36,7 +36,7 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --output-file ./reports/flake8/flake8stats.txt - name: Test with pytest run: | - pytest --cov=sunweg --cov-report html --cov-report xml --junitxml=reports/junit/junit.xml + pytest --cov=midealocal --cov-report html --cov-report xml --junitxml=reports/junit/junit.xml mv htmlcov reports/coverage - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3