Skip to content

Update to Django 5.1 #275

Update to Django 5.1

Update to Django 5.1 #275

Workflow file for this run

name: Tests
on:
pull_request:
paths:
- '**.py'
- '!setup.py'
- '.github/workflows/tests.yml'
jobs:
django-tests:
runs-on: ubuntu-latest
name: Django Test Suite
steps:
- name: Checkout django-snowflake
uses: actions/checkout@v4
- name: Checkout Django
uses: actions/checkout@v4
with:
repository: 'timgraham/django'
ref: 'snowflake-5.1.x'
path: 'django_repo'
- name: Install system packages for Django's Python test dependencies
run: |
sudo apt-get update
sudo apt-get install libmemcached-dev
- name: Install Django and its Python test dependencies
run: |
pip3 install -U pip
cd django_repo/tests/
pip3 install -e ..
pip3 install -r requirements/py3.txt
- name: install the django-snowflake backend
run: pip3 install .
- name: Copy the test settings file
run: cp .github/workflows/snowflake_settings.py django_repo/tests/
- name: Run the tests
run: >
python3 django_repo/tests/runtests.py --settings snowflake_settings -v 2
aggregation
aggregation_regress
annotations
backends
basic
bulk_create
dates
datetimes
db_functions
expressions
expressions_window
field_defaults
inspectdb
introspection
lookup
migrations
model_fields
queries
schema
timezones
env:
SNOWFLAKE_ACCOUNT: ${{ secrets.SNOWFLAKE_ACCOUNT }}
SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}
SNOWFLAKE_USER: ${{ secrets.SNOWFLAKE_USER }}
SNOWFLAKE_WAREHOUSE: ${{ secrets.SNOWFLAKE_WAREHOUSE }}