Skip to content

Bump django from 4.2.16 to 4.2.17 in /integration_test #231

Bump django from 4.2.16 to 4.2.17 in /integration_test

Bump django from 4.2.16 to 4.2.17 in /integration_test #231

Workflow file for this run

name: Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
runs-on: ubuntu-latest
name: Python${{ matrix.python-version }}/Django${{ matrix.django-version }}
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
django-version: ["3.2.23", "4.0.8", "4.1.3", "4.2", "5.0", "5.1"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Start Redis
uses: supercharge/[email protected]
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install django==${{ matrix.django-version }} \
redis django-redis pyyaml rq sentry-sdk
- name: Run Test
run: |
`which django-admin` test django_rq --settings=django_rq.tests.settings --pythonpath=.
mypy:
runs-on: ubuntu-latest
name: Type check
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/[email protected]
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install django-stubs[compatible-mypy] rq types-redis
- name: Run mypy
continue-on-error: true
id: mypy
run: |
mypy django_rq
- name: Set Status
if: steps.mypy.outcome == 'failure'
run: |
echo "Mypy found errors, marking check as neutral"
exit 78 # Exit code 78 results in a neutral check