ci: added python tests
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 7e90a18..4d9fc4c 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -37,3 +37,24 @@
             PROJECT_REF=${{ env.PROJECT_REF }}
           tags: |
             quay.io/vexxhost/ethtool-exporter:${{ env.PROJECT_REF }}
+
+  pytest:
+    runs-on: ubuntu-latest
+    strategy:
+      fail-fast: false
+      matrix:
+        type: [unit, integration]
+    steps:
+      - name: Checkout project
+        uses: actions/checkout@v3.0.2
+
+      - name: Install Poetry
+        run: pipx install poetry
+
+      - name: Setup Python
+        uses: actions/setup-python@v4.2.0
+        with:
+          cache: poetry
+
+      - name: Run test suite
+        run: poetry run pytest atmosphere/tests/${{ matrix.type }}
diff --git a/.python-version b/.python-version
new file mode 100644
index 0000000..c8cfe39
--- /dev/null
+++ b/.python-version
@@ -0,0 +1 @@
+3.10