Skip to content

Merge pull request #167 from chris48s/dependabot/pip/sqlparse-0.4.4 #529

Merge pull request #167 from chris48s/dependabot/pip/sqlparse-0.4.4

Merge pull request #167 from chris48s/dependabot/pip/sqlparse-0.4.4 #529

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
django-version: ['>=2.2,<2.3', '>=3.2,<3.3', '>=4.0,<4.3']
exclude:
- python-version: '3.7'
django-version: '>=4.0,<4.3'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install poetry
make build-drafter
make install
pip install 'Django ${{ matrix.django-version }}'
- name: Check coding standards
run: make lint
- name: Run tests
run: make test
- name: Ensure package builds
run: poetry build
- name: Upload coverage report to codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml