From: Jérôme Benoit Date: Tue, 15 Oct 2024 13:58:24 +0000 (+0200) Subject: build(ci): run OCPP server build GHA on several OS X-Git-Tag: ocpp-server@v1.5.2~14 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=1752bacff32da5e2e80ecf12f5239d6ccf256e49;p=e-mobility-charging-stations-simulator.git build(ci): run OCPP server build GHA on several OS Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b704f6b9..7c8482aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,10 +24,10 @@ jobs: build-ocpp-server: strategy: matrix: - python: - - 3.12 - name: Build OCPP mock server with Python ${{ matrix.python }} - runs-on: ubuntu-latest + os: [ubuntu-latest, windows-latest, macos-latest] + python: [3.12] + name: Build OCPP mock server with Python ${{ matrix.python }} on ${{ matrix.os }} + runs-on: ${{ matrix.os }} defaults: run: working-directory: tests/ocpp-server @@ -43,6 +43,7 @@ jobs: - name: Install Dependencies run: poetry install --no-root - name: Lint + if: ${{ matrix.os == 'ubuntu-latest' && matrix.python == '3.12' }} run: poetry run task lint build-simulator: needs: [check-secrets]