From 62fd0a437419fd4534089025f762c77da9d2bfef Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Sat, 17 Feb 2024 22:06:26 -0800 Subject: [PATCH] mac mysql start --- .github/workflows/ci.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f33f2a..9b5881c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,8 +13,25 @@ jobs: uses: NicTool/.github/.github/workflows/lint.yml@main coverage: - uses: NicTool/.github/.github/workflows/coverage.yml@main - secrets: inherit + runs-on: ubuntu-latest + steps: + - name: Start MySQL + run: sudo /etc/init.d/mysql start + - uses: actions/setup-node@v4 + - uses: actions/checkout@v4 + - run: npm install + - name: Initialize MySQL + run: sh sql/init-mysql.sh + - name: run coverage + run: npx -y c8 --reporter=lcov npm test + env: + NODE_ENV: cov + - name: codecov + uses: codecov/codecov-action@v2 + - name: Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.github_token }} get-lts: runs-on: ubuntu-latest