Bump for build #7
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: Studio - Unit Tests | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the main branch | |
push: | |
branches: | |
- main | |
- master | |
paths-ignore: | |
- apps/sqltools/** | |
pull_request: | |
paths-ignore: | |
- apps/sqltools/** | |
jobs: | |
testing: | |
name: Test Suite | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Install Node.js, NPM and Yarn | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: yarn | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Lint | |
run: yarn workspace beekeeper-studio run lint | |
- name: Check for bad files | |
run: bin/check-for-only-tests.sh | |
- name: Unit Tests | |
run: yarn workspace beekeeper-studio run test:unit --ci --silent | |
- name: Integration Tests | |
run: yarn workspace beekeeper-studio run test:integration --runInBand --ci --silent | |
env: | |
TESTCONTAINERS_RYUK_DISABLED: true |