aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/python.yml
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-08-06 21:49:38 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-08-06 21:49:38 -0500
commitecf058e04ee03db5b11ef66a1272f83f7283cf3a (patch)
treea2148f333f4f310f21b51f4b4c2fd533d569106e /.github/workflows/python.yml
parentpython: Add build step (diff)
downloadlocusts-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>
Diffstat (limited to '.github/workflows/python.yml')
-rw-r--r--.github/workflows/python.yml4
1 files changed, 4 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