Skip to content

Merge pull request #7 from skip-pay/tda/chore/django_bump #38

Merge pull request #7 from skip-pay/tda/chore/django_bump

Merge pull request #7 from skip-pay/tda/chore/django_bump #38

Workflow file for this run

name: Django CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ["3.11"]
services:
dynamodb:
image: amazon/dynamodb-local:1.21.0
ports:
- 8000:8000
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
pip install -r tests/requirements.txt
pip install -e .
- name: Run Tests
run: |
flake8 --config .config/flake8 pydjamodb
coverage run tests/manage.py test tests
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
with:
parallel: true
flag-name: Unit Test
coveralls_finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: AndreMiras/coveralls-python-action@develop
with:
parallel-finished: true