From 1752bacff32da5e2e80ecf12f5239d6ccf256e49 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 15 Oct 2024 15:58:24 +0200 Subject: [PATCH] build(ci): run OCPP server build GHA on several OS MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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] -- 2.34.1