Skip to content

Explore python, django-cms and django-filer version compatibility and… #2

Explore python, django-cms and django-filer version compatibility and…

Explore python, django-cms and django-filer version compatibility and… #2

Workflow file for this run

name: CodeCov
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
push:
branches:
- master
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:

Check failure on line 18 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
python-version: [ 3.8, 3.9, '3.10' '3.11', '3.12']
requirements-file: [
dj32_cms40.txt,
dj42_cms40.txt,
dj42_cms41.txt,
]
exclude:
# CMS 4.0 does not support python 3.11+
- requirements-file: "dj32_cms40.txt"
python-version: ["3.11", "3.12"]
- requirements-file: "dj42_cms40.txt"
python-version: ["3.11", "3.12"]
# 3.8 is not required by django-cms 4.1+
- requirements-file: "dj42_cms41.txt"
python-version: ["3.8"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: 'tests/requirements/*.txt'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r tests/requirements/${{ matrix.requirements-file }}
python setup.py install
- name: Run coverage
run: coverage run setup.py test