fix: bundle dev tools #144
Workflow file for this run
This file contains 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: MySQL DB | |
on: [pull_request, workflow_call] | |
jobs: | |
# Label of the container job | |
test-mysql: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: npm install, build, and test | |
run: | | |
npm ci --loglevel error | |
npm run build | |
npm run build-duckdb-db | |
./test/mysql/mysql_start.sh | |
npm run test-silent -- -- test | |
./test/mysql/mysql_stop.sh | |
env: | |
MALLOY_DATABASES: mysql | |
MYSQL_HOST: '127.0.0.1' | |
MYSQL_PORT: 3306 | |
MYSQL_USER: root | |
MYSQL_DATABASE: malloytest |