aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/python.yml4
-rw-r--r--requirements.txt1
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