From 4ad541d0ec59c0022f649e5e1ea01fc5cd7ad186 Mon Sep 17 00:00:00 2001 From: Jason Chow Date: Wed, 25 Sep 2024 18:10:20 -0700 Subject: [PATCH] Increase workflow os/python version test coverage (#388) Summary: Pull Request resolved: https://github.com/facebookresearch/aepsych/pull/388 Added different windows and macos-13 to the os's test matrix in build-lint-test workflow. Also added python 3.11, creating a 3x3 matrix. macos-13 is important to ensure compatability with intel macs, macos-latest will cover M1 Macs. Currently hangs on testing on windows (all version of Python) but this is a failed test that should have been caught all along. Reviewed By: crasanders Differential Revision: D63403529 fbshipit-source-id: e6f2e2eb211b41abc784436c02676ae302b9a4a6 --- .github/workflows/build-lint-test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index dd7bd3130..97c2771b9 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -32,11 +32,12 @@ jobs: build-test: - runs-on: macos-latest strategy: fail-fast: false matrix: - python-version: ["3.10", "3.12"] + python-version: ["3.10", "3.11", "3.12"] + os: [macos-latest, windows-latest, macos-13] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2