From afdf48777c6f58a4d31910b415bdb8e8ba5bc673 Mon Sep 17 00:00:00 2001 From: iakov Date: Wed, 3 Jul 2024 18:48:51 +0300 Subject: [PATCH] Add GHA CI matrix for macos and ubuntu (#37) * Add GHA CI matrix for macos and ubuntu * Fix old typo in env var name --- .github/workflows/python-app.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 1a33367..cfefb61 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -7,19 +7,22 @@ on: [ workflow_dispatch, push, pull_request ] jobs: build: - - runs-on: windows-latest + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + python-version: ['3.9'] + runs-on: ${{ matrix.os }} env: - Script_Name: TRIKLobeServer - Python_Version: 3.9 # 3.10 is missing pre-built `tflite-runtime` + SCRIPT_NAME: TRIKLobeServer steps: - uses: actions/checkout@v4 - uses: benjlevesque/short-sha@v3.0 - - name: Set up Python ${{ env.PYTHON_VERSION }} + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: - python-version: ${{ env.PYTHON_VERSION }} + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python --version