summaryrefslogtreecommitdiffstats
path: root/.github/workflows/unit_tests.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/unit_tests.yml')
-rw-r--r--.github/workflows/unit_tests.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml
new file mode 100644
index 0000000..53e60e1
--- /dev/null
+++ b/.github/workflows/unit_tests.yml
@@ -0,0 +1,25 @@
+name: unit tests
+
+on:
+ push:
+
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
+
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v5.3.0
+ with:
+ python-version: ${{ matrix.python-version }}
+
+ - name: Install requirements
+ run: pip install -r requirements.txt
+
+ - name: Run unit tests
+ run: python -m unittest tests/client.py