Skip to content

feat: support for session storing and restoring #1265

feat: support for session storing and restoring

feat: support for session storing and restoring #1265

Workflow file for this run

name: Tests
on:
push:
pull_request:
schedule:
- cron: 0 0 * * 0
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '3.10'
- '3.11'
- '3.12'
- '3.13'
env:
PYTHON_VERSION: ${{ matrix.python-version }}
PYTHONUNBUFFERED: 1
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: ${{ matrix.python-version }}
- name: Install System dependencies
run: |
sudo apt update -qq -y
sudo apt install -qq -y --no-install-recommends libxmlsec1-dev swig
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install tox coverage
- name: Django 5.1.x Test
run: |
tox -e "py${PYTHON_VERSION/\./}-django51"
if: ${{ env.PYTHON_VERSION == '3.10' || env.PYTHON_VERSION == '3.11' || env.PYTHON_VERSION == '3.12' || env.PYTHON_VERSION == '3.13' }}
- name: Django 5.2.x Test
run: |
tox -e "py${PYTHON_VERSION/\./}-django52"
if: ${{ env.PYTHON_VERSION == '3.10' || env.PYTHON_VERSION == '3.11' || env.PYTHON_VERSION == '3.12' || env.PYTHON_VERSION == '3.13' }}
- name: Django main Test
run: |
tox -e "py${PYTHON_VERSION/\./}-djangomain"
if: ${{ env.PYTHON_VERSION == '3.12' || env.PYTHON_VERSION == '3.13' }}
- name: social-core master Test
run: |
tox -e "py${PYTHON_VERSION/\./}-socialmaster"
if: ${{ env.PYTHON_VERSION == '3.10' || env.PYTHON_VERSION == '3.11' || env.PYTHON_VERSION == '3.13' }}
- name: Coverage
run: |
coverage combine
coverage xml
- uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
flags: unittests
name: Python ${{ matrix.python-version }}
token: ${{secrets.CODECOV_TOKEN}}