Support django-storages >=1.14 (Amazon S3) #26
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: CI Testing | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
name: "Python ${{ matrix.python }} Django ${{ matrix.django }}" | |
runs-on: ubuntu-20.04 | |
strategy: | |
# max-parallel: 8 # default is max available | |
fail-fast: false | |
matrix: | |
include: | |
# Django 2.2 | |
- django: "2.2" | |
python: "3.6" | |
# Django 3.1 | |
- django: "3.1" | |
python: "3.6" | |
# Django 3.2 | |
- django: "3.2" | |
python: "3.6" | |
# Django 4.0 | |
- django: "4.0" | |
python: "3.10" | |
# Django 4.1 | |
- django: "4.1" | |
python: "3.10" | |
# Django 4.2 | |
- django: "4.2" | |
python: "3.10" | |
steps: | |
- name: Install gettext | |
run: sudo apt-get install -y gettext | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Python ${{ matrix.python }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install Packages | |
run: | | |
python -m pip install -U pip | |
python -m pip install "Django~=${{ matrix.django }}" django-storages boto3 codecov -e .[tests] | |
- name: Run Tests | |
run: | | |
echo "Python ${{ matrix.python }} / Django ${{ matrix.django }}" | |
coverage run --rcfile=.coveragerc runtests.py | |
codecov | |
continue-on-error: ${{ contains(matrix.django, '4.0') }} |