From 594dacfaebee63671f44e2bb5ef29b7aeb422ac1 Mon Sep 17 00:00:00 2001 From: Evan Blaudy Date: Mon, 11 Sep 2023 19:00:25 +0200 Subject: [PATCH] [github-actions] fix python versions (2.7, 3.6) not found for ci --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06459a23..1bd373da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,13 +12,17 @@ on: jobs: ci: name: Test with different versions of Python 🐍 - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: matrix: version: [2.7, 3.6, 3.11] + include: + - version: 2.7 + container: python:2.7.18-buster steps: - uses: actions/checkout@v3 - name: Set up Python + if: matrix.version != '2.7' uses: actions/setup-python@v4 with: python-version: ${{ matrix.version }}