File tree Expand file tree Collapse file tree 3 files changed +170
-142
lines changed Expand file tree Collapse file tree 3 files changed +170
-142
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Python Tests II
2
+
3
+ on :
4
+ pull_request :
5
+ workflow_dispatch :
6
+
7
+ concurrency :
8
+ group : tests1-${{ github.ref }}
9
+ cancel-in-progress : true
10
+
11
+ defaults :
12
+ run :
13
+ shell : bash -eux {0}
14
+
15
+ jobs :
16
+
17
+ build :
18
+ name : Django Test Suite
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - name : Checkout django-mongodb
22
+ uses : actions/checkout@v4
23
+ - name : install the django-mongodb backend
24
+ run : |
25
+ pip3 install --upgrade pip
26
+ pip3 install -e .
27
+ - name : Checkout Django
28
+ uses : actions/checkout@v4
29
+ with :
30
+ repository : ' mongodb-forks/django'
31
+ ref : ' mongodb-5.0.x'
32
+ path : ' django_repo'
33
+ - name : Install system packages for Django's Python test dependencies
34
+ run : |
35
+ sudo apt-get update
36
+ sudo apt-get install libmemcached-dev
37
+ - name : Install Django and its Python test dependencies
38
+ run : |
39
+ cd django_repo/tests/
40
+ pip3 install -e ..
41
+ pip3 install -r requirements/py3.txt
42
+ - name : Copy the test settings file
43
+ run : cp .github/workflows/mongodb_settings.py django_repo/tests/
44
+ - name : Start MongoDB
45
+ uses :
supercharge/[email protected]
46
+ with :
47
+ mongodb-version : 5.0
48
+ - name : Run tests
49
+ run : >
50
+ python3 django_repo/tests/runtests.py --settings mongodb_settings -v 2
51
+ admin_checks
52
+ admin_custom_urls
53
+ admin_docs
54
+ admin_ordering
55
+ admin_scripts
56
+ admin_utils
57
+ admin_widgets
58
+ check_framework
59
+ contenttypes_tests
60
+ context_processors
61
+ custom_columns
62
+ custom_managers
63
+ datatypes
64
+ dbshell
65
+ empty_models
66
+ file_uploads
67
+ flatpages_tests
68
+ forms_tests
69
+ generic_inline_admin
70
+ get_earliest_or_latest
71
+ get_object_or_404
72
+ get_or_create
73
+ i18n
74
+ inline_formsets
75
+ managers_regress
76
+ managers_regress
77
+ max_lengths
78
+ messages_tests
79
+ migrate_signals
80
+ migration_test_data_persistence
81
+ modeladmin
82
+ model_formsets
83
+ model_formsets_regress
84
+ model_indexes
85
+ model_inheritance_regress
86
+ model_options
87
+ model_package
88
+ model_regress
89
+ model_utils
90
+ multiple_database
91
+ order_with_respect_to
92
+ pagination
93
+ properties
94
+ proxy_models
95
+ redirects_tests
96
+ reserved_names
97
+ reverse_lookup
98
+ save_delete_hooks
99
+ signals
100
+ sitemaps_tests
101
+ sites_framework
102
+ sites_tests
103
+ str
104
+ string_lookup
105
+ swappable_models
106
+ syndication_tests
107
+ test_client
108
+ test_client_regress
109
+ test_runner
110
+ test_utils
111
+ transactions
112
+ unmanaged_models
113
+ update_only_fields
114
+ user_commands
115
+ view_tests
You can’t perform that action at this time.
0 commit comments