Skip to content

chore: bump django-rest-email-auth from 4.0.0 to 4.0.3 #109

chore: bump django-rest-email-auth from 4.0.0 to 4.0.3

chore: bump django-rest-email-auth from 4.0.0 to 4.0.3 #109

Workflow file for this run

name: Run Tests
on:
pull_request:
push:
branches:
- master
workflow_call:
jobs:
test:
name: Test
runs-on: ubuntu-20.04
strategy:
matrix:
include:
# Django 3.2
- django-version: '>= 3.2, < 3.3'
python-version: "3.7"
- django-version: '>= 3.2, < 3.3'
python-version: "3.8"
- django-version: '>= 3.2, < 3.3'
python-version: "3.9"
- django-version: '>= 3.2, < 3.3'
python-version: "3.10"
# Django 4.0 - 4.1
- django-version: '>= 4.0, < 4.2'
python-version: "3.8"
- django-version: '>= 4.0, < 4.2'
python-version: "3.9"
- django-version: '>= 4.0, < 4.2'
python-version: "3.10"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: abatilo/actions-poetry@v3
- name: Install dependencies
run: |
poetry install --with ci
poetry run pip install "Django ${{ matrix.django-version }}"
- name: Test
run: |
poetry run ./example_project/manage.py check
poetry run pytest --cov=rest_email_auth --cov-report=xml
- name: Upload coverage report
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}