X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.github%2Fworkflows%2Fci.yml;h=21039042953bbfed54710e7903d6312bf6b97858;hb=20e5e16ec38052ef88fdcf0879b0877aa3f4b1d8;hp=f48baf21a7062ffe14da4386fb2bf7c42c316b5c;hpb=ada0c1ead79ff48eae54a5594c3bdf4553aa791b;p=e-mobility-charging-stations-simulator.git diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f48baf21..21039042 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: