File tree Expand file tree Collapse file tree 1 file changed +102
-0
lines changed
Expand file tree Collapse file tree 1 file changed +102
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Tests II
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - ' **.py'
7+ - ' !setup.py'
8+ - ' .github/workflows/tests1.yml'
9+
10+ jobs :
11+ django-tests :
12+ runs-on : ubuntu-latest
13+ name : Django Test Suite
14+ steps :
15+ - name : Checkout django-snowflake
16+ uses : actions/checkout@v2
17+ - name : Checkout Django
18+ uses : actions/checkout@v2
19+ with :
20+ repository : ' timgraham/django'
21+ ref : ' snowflake-3.2.x'
22+ path : ' django_repo'
23+ - name : Install system packages for Django's Python test dependencies
24+ run : |
25+ sudo apt-get update
26+ sudo apt-get install libmemcached-dev
27+ - name : Install Django and its Python test dependencies
28+ run : |
29+ cd django_repo/tests/
30+ pip3 install -e ..
31+ pip3 install -r requirements/py3.txt
32+ - name : install the django-snowflake backend
33+ run : pip3 install .
34+ - name : Copy the test settings file
35+ run : cp .github/workflows/snowflake_settings.py django_repo/tests/
36+ - name : Run the tests
37+ run : >
38+ python3 django_repo/tests/runtests.py --settings snowflake_settings -v 2
39+ inline_formsets
40+ inspectdb
41+ introspection
42+ invalid_models_tests
43+ known_related_objects
44+ lookup
45+ m2m_and_m2o
46+ m2m_intermediary
47+ m2m_multiple
48+ m2m_recursive
49+ m2m_regress
50+ m2m_signals
51+ m2m_through
52+ m2m_through_regress
53+ m2o_recursive
54+ managers_regress
55+ many_to_many
56+ many_to_one
57+ many_to_one_null
58+ max_lengths
59+ migrate_signals
60+ migrations
61+ migration_test_data_persistence
62+ modeladmin
63+ model_fields
64+ model_forms
65+ model_formsets
66+ model_formsets_regress
67+ mutually_referential
68+ nested_foreign_keys
69+ null_fk
70+ null_fk_ordering
71+ null_queries
72+ one_to_one
73+ order_with_respect_to
74+ or_lookups
75+ pagination
76+ prefetch_related
77+ properties
78+ proxy_model_inheritance
79+ proxy_models
80+ queries
81+ queryset_pickle
82+ reserved_names
83+ reverse_lookup
84+ save_delete_hooks
85+ schema
86+ select_for_update
87+ select_related
88+ select_related_onetoone
89+ select_related_regress
90+ timezones
91+ transaction_hooks
92+ transactions
93+ unmanaged_models
94+ update
95+ update_only_fields
96+ validation
97+ view_tests
98+ env :
99+ SNOWFLAKE_ACCOUNT : ${{ secrets.SNOWFLAKE_ACCOUNT }}
100+ SNOWFLAKE_PASSWORD : ${{ secrets.SNOWFLAKE_PASSWORD }}
101+ SNOWFLAKE_USER : ${{ secrets.SNOWFLAKE_USER }}
102+ SNOWFLAKE_WAREHOUSE : ${{ secrets.SNOWFLAKE_WAREHOUSE }}
You can’t perform that action at this time.
0 commit comments