Skip to content

Commit

Permalink
fix github flow's mysql service.
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Mar 19, 2020
1 parent 15233c1 commit 975403a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ jobs:
uses: actions/checkout@v2

# use mysql in VM https://github.com/actions/virtual-environments/blob/master/images/linux/Ubuntu1804-README.md
# https://github.com/actions/virtual-environments/issues/576
- name: Try connect to MySQL and init datebase
run: |
sudo systemctl enable mysql.service
sudo systemctl start mysql.service
mysql -hlocalhost -uroot -proot < ./sql/schema.sql
- name: Get dependencies
Expand Down

0 comments on commit 975403a

Please sign in to comment.