diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-08-06 21:49:38 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-08-06 21:49:38 -0500 |
commit | ecf058e04ee03db5b11ef66a1272f83f7283cf3a (patch) | |
tree | a2148f333f4f310f21b51f4b4c2fd533d569106e | |
parent | python: Add build step (diff) | |
download | locusts-ecf058e04ee03db5b11ef66a1272f83f7283cf3a.tar locusts-ecf058e04ee03db5b11ef66a1272f83f7283cf3a.tar.gz locusts-ecf058e04ee03db5b11ef66a1272f83f7283cf3a.tar.bz2 locusts-ecf058e04ee03db5b11ef66a1272f83f7283cf3a.tar.lz locusts-ecf058e04ee03db5b11ef66a1272f83f7283cf3a.tar.xz locusts-ecf058e04ee03db5b11ef66a1272f83f7283cf3a.tar.zst locusts-ecf058e04ee03db5b11ef66a1272f83f7283cf3a.zip |
python: Add Build as a dependency
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
-rw-r--r-- | .github/workflows/python.yml | 4 | ||||
-rw-r--r-- | requirements.txt | 1 |
2 files changed, 5 insertions, 0 deletions
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 |