Skip to content

testing several clingo versions #698

testing several clingo versions

testing several clingo versions #698

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
build:
name: eclingo ${{ matrix.python-version }} ${{ matrix.os }} ${{ matrix.clingo-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest']
python-version: ['3.9', '3.11', '3.12']
clingo-version: ['>=5.5.0,<5.6.0','>=5.6.0,<5.7.0','>=5.7.0,<5.8.0']
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install "clingo${{ matrix.clingo-version }}"
python -m pip install nox
python -m pip install isort
- name: Cache nox
id: cache-nox
uses: actions/cache@v3
env:
CLINGO_VERSION: ${{ matrix.clingo-version }}
with:
path: .nox
key: ${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.clingo-version }}-nox
- name: Info
run: |
python -VV
pip list
- name: run tests
run: nox -r