Skip to content

Support Truncate with Cascade #53

Support Truncate with Cascade

Support Truncate with Cascade #53

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 10
matrix:
include:
- python-version: '3.7'
tox-env: py37-django22
- python-version: '3.8'
tox-env: py38-django22
- python-version: '3.9'
tox-env: py39-django22
- python-version: '3.7'
tox-env: py37-django32
- python-version: '3.8'
tox-env: py38-django32
- python-version: '3.9'
tox-env: py39-django32
- python-version: '3.10'
tox-env: py310-django32
- python-version: '3.8'
tox-env: py38-django40
- python-version: '3.9'
tox-env: py39-django40
- python-version: '3.10'
tox-env: py310-django40
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip setuptools tox
- name: Run tests
env:
TOXENV: ${{ matrix.tox-env }}
run: |
tox -v
- name: Upload coverage
uses: codecov/codecov-action@v2
with:
name: Python ${{ matrix.python-version }}
fail_ci_if_error: true
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 2
matrix:
include:
- python-version: '3.10'
tox-env: flake8
- python-version: '3.10'
tox-env: isort
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip setuptools tox
- name: Run tests
env:
TOXENV: ${{ matrix.tox-env }}
run: |
tox -v