Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
duri0214 committed Jan 14, 2024
1 parent c81d685 commit 2be2977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
# https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#mysql
sudo systemctl start mysql
mysql -u$DB_USER -p$DB_PASSWORD -e "CREATE DATABASE $DB_NAME;"
mysql -u$DB_USER -p$DB_PASSWORD -e "SHOW DATABASES;"
python3 --version
python3 -m venv venv
source venv/bin/activate
Expand All @@ -45,5 +44,6 @@ jobs:
python manage.py migrate
python manage.py makemigrations vietnam_research gmarker shopping linebot warehouse
python manage.py migrate
mysql -u$DB_USER -p$DB_PASSWORD -e "SHOW TABLES;"
export DJANGO_SECRET_KEY="$(base64 <<< "$RANDOM|TeStiNg|$RANDOM" | tr -d '\n')"
python manage.py test

0 comments on commit 2be2977

Please sign in to comment.