build(deps-dev): bump @pokujs/multi-suite from 1.0.1 to 1.0.2 in the dev-dependencies group #3227
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI - Coverage | |
| on: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/ci-coverage.yml' | |
| - 'lib/**' | |
| - 'test/**' | |
| - 'tools/**' | |
| - 'index.js' | |
| - 'promise.js' | |
| - 'poku.config.js' | |
| - 'package.json' | |
| - 'package-lock.json' | |
| - 'codecov.yml' | |
| - '.nycrc' | |
| push: | |
| branches: [master] | |
| workflow_dispatch: | |
| env: | |
| MYSQL_PORT: 3306 | |
| MYSQL_USER: root | |
| MYSQL_DATABASE: test | |
| jobs: | |
| coverage: | |
| permissions: write-all | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [22] | |
| mysql-version: ['mysql:5.7', 'mysql:8.0', 'mysql:9.0'] | |
| use-compression: [0, 1] | |
| use-tls: [0, 1] | |
| static-parser: [0, 1] | |
| mysql_connection_url_key: [''] | |
| env: | |
| MYSQL_CONNECTION_URL: ${{ secrets[matrix.mysql_connection_url_key] }} | |
| STATIC_PARSER: ${{ matrix.static-parser }} | |
| name: Coverage ${{ matrix.node-version }} - DB ${{ matrix.mysql-version }}${{ matrix.mysql_connection_url_key }} - SSL=${{matrix.use-tls}} Compression=${{matrix.use-compression}} Static Parser=${{matrix.static-parser}} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up MySQL | |
| if: ${{ matrix.mysql-version }} | |
| run: docker run -d -e MYSQL_ALLOW_EMPTY_PASSWORD=1 -e MYSQL_DATABASE=${{ env.MYSQL_DATABASE }} -v $PWD/mysqldata:/var/lib/mysql/ -v $PWD/test/fixtures/custom-conf:/etc/mysql/conf.d -v $PWD/test/fixtures/ssl/certs:/certs -p ${{ env.MYSQL_PORT }}:3306 ${{ matrix.mysql-version }} | |
| - name: Set up Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| package-manager-cache: false | |
| - name: Cache dependencies | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.npm | |
| key: npm-linux-${{ hashFiles('package-lock.json') }} | |
| restore-keys: npm-linux- | |
| - name: Install npm dependencies | |
| run: npm ci | |
| - name: Wait mysql server is ready | |
| if: ${{ matrix.mysql-version }} | |
| run: node tools/wait-up.js | |
| - name: Run tests | |
| run: FILTER=${{matrix.filter}} MYSQL_USE_TLS=${{ matrix.use-tls }} MYSQL_USE_COMPRESSION=${{ matrix.use-compression }} npm run test:coverage | |
| timeout-minutes: 15 | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| flags: compression-${{ matrix.use-compression }},tls-${{ matrix.use-tls }},static-parser-${{ matrix.static-parser }} | |
| name: codecov-umbrella-${{ matrix.node-version }}-${{ matrix.mysql-version }}-compression-${{ matrix.use-compression }}-tls-${{ matrix.use-tls }}-static-parser-${{ matrix.static-parser }} |