aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/tests.yml
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2025-08-02 19:49:41 -0500
committerChristian Cleberg <hello@cleberg.net>2025-08-02 19:49:41 -0500
commit5032dd4aff82f1deceae11269f8973e89945b893 (patch)
treea86dd7e141e0e168504b73b75f7f0634498b3e97 /.github/workflows/tests.yml
parent532e20db6ebef5e4257f437b3ab7429fa18637b3 (diff)
downloadcrumb-main.tar.gz
crumb-main.tar.bz2
crumb-main.zip
feat: add testsHEADmain
Diffstat (limited to '.github/workflows/tests.yml')
-rw-r--r--.github/workflows/tests.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
new file mode 100644
index 0000000..b933244
--- /dev/null
+++ b/.github/workflows/tests.yml
@@ -0,0 +1,26 @@
+name: Run Tests
+
+on:
+ push:
+ branches:
+ - main
+ pull_request:
+ branches:
+ - main
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - name: Set up Python
+ uses: actions/setup-python@v4
+ with:
+ python-version: "3.11"
+ - name: Install Dependencies
+ run: |
+ python -m pip install --upgrade pip
+ python -m pip install --upgrade pytest
+ python -m pip install -r requirements.txt
+ - name: Run Tests
+ run: pytest