Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Add deprecation warning #22

Add deprecation warning

Add deprecation warning #22

Workflow file for this run

name: Running unittests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
unittests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.9]
django: ["2.2", "3.1"]
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 requirements_test.txt
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Linting
run: flake8
- name: Run unittests
env:
TOX_ENV: py${{ matrix.python-version}}-django${{ matrix.django }}
run: |
tox -e $TOX_ENV
# integrationtests:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Set up Python 3.x
# uses: actions/setup-python@v2
# with:
# python-version: '3.9'
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install -r requirements_test.txt
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# - name: Run integration tests
# env:
# TOX_ENV: py3.9-django3.1-cypress
# run: |
# tox -e $TOX_ENV