Skip to content

Commit

Permalink
Run MySQL step on condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jj22ee committed Mar 30, 2023
1 parent 46bc57a commit 4138b2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/UnitTesting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
uses: actions/checkout@v3

- name: Start MySQL
if: ${{ matrix.testenv == 'ext' }}
run: |
sudo /etc/init.d/mysql start
mysql -e 'CREATE DATABASE ${{ env.DB_DATABASE }};' -u${{ env.DB_USER }} -p${{ env.DB_PASSWORD }}
Expand Down

0 comments on commit 4138b2e

Please sign in to comment.