From 04e2e81e036664263e92ce621b099abb545bc0a7 Mon Sep 17 00:00:00 2001 From: Roy Sommer Date: Sat, 8 Apr 2023 03:32:05 +0300 Subject: Fix Tests for Python 3.6 (#59) * Fix Tests for Python 3.6 Python 3.6 is no longer supported on latest ubuntu, causing the CI to fail. This PR changes the CI setup so that: - Python 3.6 is run on latest ubuntu supported (20.04) - All other tests run on latest ubuntu For more details: https://github.com/actions/setup-python/issues/544 --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a7b7cc..d9aa4a5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,15 +11,17 @@ on: jobs: build: - - runs-on: ubuntu-latest strategy: matrix: python-version: - - 3.6 - 3.7 - 3.8 - 3.9 + - '3.10' + include: + - python-version: 3.6 + os: ubuntu-20.04 + runs-on: ${{ matrix.os || 'ubuntu-latest' }} steps: - uses: actions/checkout@v2 -- cgit v1.2.3