From ecf058e04ee03db5b11ef66a1272f83f7283cf3a Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Tue, 6 Aug 2024 21:49:38 -0500 Subject: python: Add Build as a dependency Signed-off-by: Matt Strapp --- .github/workflows/python.yml | 4 ++++ requirements.txt | 1 + 2 files changed, 5 insertions(+) create mode 100644 requirements.txt diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 3c25c71..ddb929b 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -4,11 +4,13 @@ on: push: paths: - "**.py" + - "requirements.txt" - "pyproject.toml" - ".github/workflows/python.yml" pull_request: paths: - "**.py" + - "requirements.txt" - "pyproject.toml" - ".github/workflows/python.yml" @@ -26,6 +28,8 @@ jobs: uses: actions/setup-python@v5 with: python-version: "3.x" + - name: Install dependencies + run: python -m pip install -r requirements.txt - name: Build run: python -m build - name: Test diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..378eac2 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +build -- cgit v1.2.3