Merge pull request #619 from liangliangyy/dev

update github actions
pull/12/head
且听风吟 3 years ago committed by GitHub
commit c6277d2c35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,4 +8,5 @@ djangoblog/whoosh_index/
uploads/
settings_production.py
*.md
docs/
docs/
logs/

@ -26,7 +26,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [ 3.8, 3.9 ]
python-version: [ "3.8", "3.9","3.10" ]
steps:
- name: Start MySQL
@ -66,7 +66,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [ 3.8, 3.9 ]
python-version: [ "3.8", "3.9","3.10" ]
steps:
- name: Start MySQL

1
.gitignore vendored

@ -50,6 +50,7 @@ coverage.xml
# Django stuff:
*.log
logs/
# Sphinx documentation
docs/_build/

@ -1,4 +1,4 @@
FROM python:3
FROM python:3.10
ENV PYTHONUNBUFFERED 1
WORKDIR /code/djangoblog/
RUN apt-get install default-libmysqlclient-dev -y && \

@ -4,15 +4,15 @@ services:
db:
image: mysql:latest
restart: always
command:
- mysqld
- --max_connections=3000
- --wait_timeout=600
- --interactive_timeout=600
- --thread_cache_size=50
- --default-authentication-plugin=mysql_native_password
- --character-set-server=utf8
- --collation-server=utf8_general_ci
# command:
# - mysqld
# - --max_connections=3000
# - --wait_timeout=600
# - --interactive_timeout=600
# - --thread_cache_size=50
# - --default-authentication-plugin=mysql_native_password
# - --character-set-server=utf8
# - --collation-server=utf8_general_ci
environment:
- MYSQL_DATABASE=djangoblog
- MYSQL_ROOT_PASSWORD=DjAnGoBlOg!2!Q@W#E

Loading…
Cancel
Save