Skip to content

Commit

Permalink
ci: check for coverage behavior in MySQL 5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel committed Mar 12, 2024
1 parent 85e3370 commit 60e367c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fail-fast: false
matrix:
node-version: [20.x]
mysql-version: ["mysql:8.0.33"]
mysql-version: ["mysql:5.7", "mysql:8.0.33"]
use-compression: [0, 1]
use-tls: [0, 1]
mysql_connection_url_key: [""]
Expand Down Expand Up @@ -57,3 +57,10 @@ jobs:

- name: Run tests
run: FILTER=${{matrix.filter}} MYSQL_USE_TLS=${{ matrix.use-tls }} MYSQL_USE_COMPRESSION=${{ matrix.use-compression }} npm run coverage-test

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: compression-${{ matrix.use-compression }},tls-${{ matrix.use-tls }}
name: codecov-umbrella-${{ matrix.node-version }}-${{ matrix.mysql-version }}-compression-${{ matrix.use-compression }}-tls-${{ matrix.use-tls }}

0 comments on commit 60e367c

Please sign in to comment.