add CMS 4.1 compatiable changes. fix skip message. #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: django CMS references test.yml | |
on: [pull_request, push] | |
jobs: | |
database-sqlite: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [ 3.8, 3.9, '3.10'] # latest release minus two | |
requirements-file: [ | |
dj32_cms40.txt, | |
dj42_cms40.txt, | |
dj42_cms41.txt, | |
] | |
exclude: | |
- requirements-file: dj42_cms41.txt | |
python-version: 3.8 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
sudo apt install gettext gcc -y | |
python -m pip install --upgrade pip | |
pip install pytest | |
pip install -r tests/requirements/${{ matrix.requirements-file }} | |
python setup.py install | |
- name: Test with python test runner | |
run: | | |
python setup.py test | |
env: | |
DATABASE_URL: sqlite://localhost/testdb.sqlite |