diff --git a/.github/workflows/python-CD.yml b/.github/workflows/python-CD.yml index 72e1d08..e9095e0 100644 --- a/.github/workflows/python-CD.yml +++ b/.github/workflows/python-CD.yml @@ -67,6 +67,20 @@ jobs: uses: actions/setup-python@v4 with: python-version: "3.10" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pytest + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Install setuptools + run: | + pip install setuptools wheel + - name: re-Build Python package + run: | + python setup.py sdist bdist_wheel + - name: Install Python Package + run: | + pip install dist/*.whl - name: Install twine run: | python -m pip install --upgrade pip