Skip to content

Commit f0089c5

Browse files
committed
test sqlite
1 parent 3ed69e8 commit f0089c5

File tree

3 files changed

+21
-6
lines changed

3 files changed

+21
-6
lines changed

.github/workflows/misc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: Run tests
1+
name: Flake8 and docs
22
on: [push]
33

44
jobs:
55
test:
6-
name: Test
6+
name: ${{ matrix.compose_app }}
77
strategy:
88
matrix:
99
compose_app:

.github/workflows/sqlite.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: sqlite
2+
on: [push]
3+
4+
jobs:
5+
test:
6+
name: sqlite
7+
strategy:
8+
matrix:
9+
python_version:
10+
- 3.6
11+
- 3.7
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@master
15+
- run: git clone https://github.com/django/django.git --depth=1 ${GITHUB_WORKSPACE}/django
16+
- run: docker-compose pull --include-deps sqlite
17+
- run: DJANGO_PATH=${GITHUB_WORKSPACE}/django PYTHON_VERSION=${{ matrix.python_version }} docker-compose build --pull sqlite
18+
- run: DJANGO_PATH=${GITHUB_WORKSPACE}/django PYTHON_VERSION=${{ matrix.python_version }} docker-compose run sqlite
19+

disabled-.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,13 @@ env:
1212
- COMPOSE_APP=docs
1313

1414
# Quick Runs. Lowest supported database and Python version.
15-
- COMPOSE_APP=sqlite PYTHON_VERSION=3.6
1615
- COMPOSE_APP=sqlite-gis PYTHON_VERSION=3.6
1716
- COMPOSE_APP=postgres PYTHON_VERSION=3.6 POSTGRES_VERSION=9.5
1817
- COMPOSE_APP=postgres-gis PYTHON_VERSION=3.6 POSTGRES_VERSION=9.5 POSTGIS_VERSION=2.4
1918
- COMPOSE_APP=mysql PYTHON_VERSION=3.6 MYSQL_VERSION=5.6
2019
- COMPOSE_APP=mysql-gis PYTHON_VERSION=3.6 MYSQL_VERSION=5.6
2120
- COMPOSE_APP=mariadb PYTHON_VERSION=3.6 MARIADB_VERSION=10.1
2221

23-
# Sqlite
24-
- COMPOSE_APP=sqlite PYTHON_VERSION=3.7
25-
2622
# Sqlite gis:
2723
- COMPOSE_APP=sqlite-gis PYTHON_VERSION=3.7
2824

0 commit comments

Comments
 (0)