diff --git a/.ci/cicd-requirements.txt b/.ci/cicd-requirements.txt new file mode 100644 index 0000000..68dd691 --- /dev/null +++ b/.ci/cicd-requirements.txt @@ -0,0 +1,3 @@ +build~=1.3.0 +pytest~=9.0.2 +twine~=6.2.0 \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ee05f42..141b368 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,9 +14,12 @@ jobs: with: python-version: '3.x' + - name: Install CI/CD requirements + run: | + pip install -r .ci/cicd-requirements.txt + - name: Build sdist run: | - pip install build python -m build --sdist - name: Build wheels (macOS) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 3b9ec91..4d70de7 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -24,9 +24,12 @@ jobs: with: python-version: ${{ matrix.python }} + - name: Install CI/CD requirements + run: | + pip install -r .ci/cicd-requirements.txt + - name: Install project run: | - pip install pytest pip install -e . - name: Test with pytest