diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8f8e1464..9cd7e944 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,7 +35,11 @@ jobs: - name: Install dependencies run: | python -m pip install --progress-bar off --upgrade pip setuptools wheel - python -m pip install --progress-bar off build + python -m pip install --progress-bar off .[build] + - name: Test package install + run: python -c "import template; print(template.__version__)" + - name: Remove package install + run: python -m pip uninstall -y template - name: Build package run: python -m build - name: Install sdist diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index c43d0130..b20eba5b 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -40,8 +40,5 @@ jobs: run: | python -m pip install --progress-bar off --upgrade pip setuptools wheel python -m pip install --progress-bar off .[test] - - name: Install dependencies - run: | - python -m pip install --progress-bar off pytest pytest-cov - name: Run pytest run: pytest template --cov=template --cov-report=xml --verbose