From fff29b35e2e57e5f6d3cce29073d1ef347957af9 Mon Sep 17 00:00:00 2001 From: Emanuele Bellocchia <54482000+ebellocchia@users.noreply.github.com> Date: Fri, 9 Feb 2024 15:55:48 +0100 Subject: [PATCH] Add different OS, temporarily removed Python 3.12 --- .github/workflows/test.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5942a30e..12952abe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -# This workflow will install Python dependencies and run tests with different Python versions +# This workflow will install Python dependencies and run tests with different Python versions and OS name: Build & Test @@ -9,12 +9,16 @@ on: branches: [ "master" ] jobs: - build: - runs-on: ubuntu-latest + build_test: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] # 3.12 temporarily removed, waiting for coincurve fix + os: + - ubuntu-latest + - macOS-latest + - windows-latest + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -25,7 +29,6 @@ jobs: run: | python -m pip install --upgrade pip pip install -r requirements.txt - pip install -r requirements-dev.txt - name: Run tests run: | pytest