From 1d8b0901e794d84934f89890527576619ff2efd8 Mon Sep 17 00:00:00 2001 From: Daniel Perrefort Date: Fri, 13 Oct 2023 12:24:18 -0400 Subject: [PATCH] Add docker test env back into testing matrix --- .github/workflows/PackageTest.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/PackageTest.yml b/.github/workflows/PackageTest.yml index 973a58b..6b4787d 100644 --- a/.github/workflows/PackageTest.yml +++ b/.github/workflows/PackageTest.yml @@ -14,17 +14,27 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ "3.8", "3.9", "3.10", "3.11" ] + slurm_version: + - 20.11.9.1 + - 22.05.2.1 + - 23.02.5.1 + python_version: + - 3.8 + - 3.9 + + container: + image: ghcr.io/pitt-crc/test-env:${{ matrix.slurm_version }} + credentials: + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} steps: + - name: Setup environment + run: /usr/local/bin/entrypoint.sh + - name: Checkout repository uses: actions/checkout@v4 - - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - name: Install Poetry uses: snok/install-poetry@v1 with: