Skip to content

Revert changes to bad.sql and update tests to work with sqlfluff 2.0 #223

Revert changes to bad.sql and update tests to work with sqlfluff 2.0

Revert changes to bad.sql and update tests to work with sqlfluff 2.0 #223

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
release:
types:
- created
jobs:
build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 16.x
- run: npm install
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install sqlfluff
run: pip install sqlfluff
- name: Run tests
uses: GabrielBB/[email protected]
with:
run: npm test
- name: Publish
if: success() && startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest'
run: npm run deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}