build(ci): silence warning at building OCPP mock server
[e-mobility-charging-stations-simulator.git] / .github / workflows / ci.yml
index f48baf21a7062ffe14da4386fb2bf7c42c316b5c..21039042953bbfed54710e7903d6312bf6b97858 100644 (file)
@@ -21,6 +21,30 @@ jobs:
           else
             echo "defined=false" >> $GITHUB_OUTPUT;
           fi
+  build-ocpp-server:
+    strategy:
+      matrix:
+        python:
+          - 3.12
+    name: Build OCPP mock server with Python ${{ matrix.python }}
+    runs-on: ubuntu-latest
+    defaults:
+      run:
+        working-directory: tests/ocpp-server
+    steps:
+      - uses: actions/checkout@v4
+      - name: Setup Python ${{ matrix.python }}
+        uses: actions/setup-python@v4
+        with:
+          python-version: ${{ matrix.python }}
+      - name: Install Poetry
+        run: |
+          python -m pip install --upgrade pip
+          pip install poetry
+      - name: Install Dependencies
+        run: poetry install --no-root
+      - name: Lint
+        run: poetry run task lint
   build-simulator:
     needs: [check-secrets]
     strategy: