Run Python 3.6 unit tests on ubuntu-20.04 (#33918)

This commit is contained in:
Massimiliano Culpo 2022-11-15 22:33:11 +01:00 committed by GitHub
parent 289bbf74f6
commit 472893c5c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,28 +11,38 @@ concurrency:
jobs: jobs:
# Run unit tests with different configurations on linux # Run unit tests with different configurations on linux
ubuntu: ubuntu:
runs-on: ubuntu-latest runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
python-version: ['3.6.15', '3.7', '3.8', '3.9', '3.10', '3.11'] os: [ubuntu-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
concretizer: ['clingo'] concretizer: ['clingo']
on_develop: on_develop:
- ${{ github.ref == 'refs/heads/develop' }} - ${{ github.ref == 'refs/heads/develop' }}
include: include:
- python-version: '3.11' - python-version: '3.11'
os: ubuntu-latest
concretizer: original concretizer: original
on_develop: ${{ github.ref == 'refs/heads/develop' }} on_develop: ${{ github.ref == 'refs/heads/develop' }}
- python-version: '3.6'
os: ubuntu-20.04
concretizer: clingo
on_develop: ${{ github.ref == 'refs/heads/develop' }}
exclude: exclude:
- python-version: '3.7' - python-version: '3.7'
os: ubuntu-latest
concretizer: 'clingo' concretizer: 'clingo'
on_develop: false on_develop: false
- python-version: '3.8' - python-version: '3.8'
os: ubuntu-latest
concretizer: 'clingo' concretizer: 'clingo'
on_develop: false on_develop: false
- python-version: '3.9' - python-version: '3.9'
os: ubuntu-latest
concretizer: 'clingo' concretizer: 'clingo'
on_develop: false on_develop: false
- python-version: '3.10' - python-version: '3.10'
os: ubuntu-latest
concretizer: 'clingo' concretizer: 'clingo'
on_develop: false on_develop: false