From 0c91292d05d7b05357bb1b3c45d9dfc4ab7f445a Mon Sep 17 00:00:00 2001 From: Kunal Tyagi Date: Sun, 8 Oct 2023 19:06:14 +0900 Subject: [PATCH] Extend tests to multiple versions and pin action versions (#50) --- .github/workflows/tests.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 44e3e4f..83ad6cd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,12 +9,15 @@ on: jobs: Run-tests: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v3 - - name: Set up Python 3.11 - uses: actions/setup-python@v4 + - uses: actions/checkout@v4.1.0 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4.7.1 with: - python-version: 3.11 + python-version: ${{ matrix.python-version }} - name: Run NSIQCppStyle tests timeout-minutes: 5