-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from PetrDlouhy/github_testing
GitHub testing
- Loading branch information
Showing
8 changed files
with
142 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Django CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] | ||
django-version: ['3.2.*', '4.0.*', '4.1.*', '4.2.*', '5.0.*'] | ||
exclude: | ||
- django-version: '3.2.*' | ||
python-version: '3.11' | ||
- django-version: '3.2.*' | ||
python-version: '3.12' | ||
|
||
- django-version: '4.0.*' | ||
python-version: '3.11' | ||
- django-version: '4.0.*' | ||
python-version: '3.12' | ||
|
||
- django-version: '4.1.*' | ||
python-version: '3.12' | ||
|
||
- django-version: '5.0.*' | ||
python-version: '3.8' | ||
- django-version: '5.0.*' | ||
python-version: '3.9' | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip install setuptools | ||
pip install Django==${{ matrix.django-version }} | ||
python setup.py install | ||
pip install -r test_requirements.txt | ||
- name: Run tests | ||
run: DJANGO_SETTINGS_MODULE=demoproject.demoproject.settings python setup.py test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
from django.conf.urls import url | ||
from django.urls import path | ||
from . import views | ||
|
||
|
||
urlpatterns = [ | ||
url(r'^$', views.home, name='home'), | ||
url(r'^piechart/', views.demo_piechart, name='demo_piechart'), | ||
url(r'^linechart/', views.demo_linechart, name='demo_linechart'), | ||
url(r'^linechart_without_date/', views.demo_linechart_without_date, name='demo_linechart_without_date'), | ||
url(r'^linewithfocuschart/', views.demo_linewithfocuschart, name='demo_linewithfocuschart'), | ||
url(r'^multibarchart/', views.demo_multibarchart, name='demo_multibarchart'), | ||
url(r'^stackedareachart/', views.demo_stackedareachart, name='demo_stackedareachart'), | ||
url(r'^multibarhorizontalchart/', views.demo_multibarhorizontalchart, name='demo_multibarhorizontalchart'), | ||
url(r'^lineplusbarchart/', views.demo_lineplusbarchart, name='demo_lineplusbarchart'), | ||
url(r'^cumulativelinechart/', views.demo_cumulativelinechart, name='demo_cumulativelinechart'), | ||
url(r'^discretebarchart/', views.demo_discretebarchart, name='demo_discretebarchart'), | ||
url(r'^discretebarchart_with_date/', views.demo_discretebarchart_with_date, name='demo_discretebarchart_date'), | ||
url(r'^scatterchart/', views.demo_scatterchart, name='demo_scatterchart'), | ||
url(r'^linechart_with_ampm/', views.demo_linechart_with_ampm, name='demo_linechart_with_ampm'), | ||
# url(r'^demoproject/', include('demoproject.foo.urls')), | ||
path('', views.home, name='home'), | ||
path('piechart/', views.demo_piechart, name='demo_piechart'), | ||
path('linechart/', views.demo_linechart, name='demo_linechart'), | ||
path('linechart_without_date/', views.demo_linechart_without_date, name='demo_linechart_without_date'), | ||
path('linewithfocuschart/', views.demo_linewithfocuschart, name='demo_linewithfocuschart'), | ||
path('multibarchart/', views.demo_multibarchart, name='demo_multibarchart'), | ||
path('stackedareachart/', views.demo_stackedareachart, name='demo_stackedareachart'), | ||
path('multibarhorizontalchart/', views.demo_multibarhorizontalchart, name='demo_multibarhorizontalchart'), | ||
path('lineplusbarchart/', views.demo_lineplusbarchart, name='demo_lineplusbarchart'), | ||
path('cumulativelinechart/', views.demo_cumulativelinechart, name='demo_cumulativelinechart'), | ||
path('discretebarchart/', views.demo_discretebarchart, name='demo_discretebarchart'), | ||
path('discretebarchart_with_date/', views.demo_discretebarchart_with_date, name='demo_discretebarchart_date'), | ||
path('scatterchart/', views.demo_scatterchart, name='demo_scatterchart'), | ||
path('linechart_with_ampm/', views.demo_linechart_with_ampm, name='demo_linechart_with_ampm'), | ||
# path('^demoproject/', include('demoproject.foo.urls')), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
Django | ||
Django-bower |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters