Skip to content

test: add more stacks integration tests #2732

test: add more stacks integration tests

test: add more stacks integration tests #2732

Workflow file for this run

name: Run tests
on:
push:
branches:
- main
paths-ignore:
- 'syntaxes/**'
- 'tests/**'
- '**.md'
pull_request:
branches:
- main
paths-ignore:
- 'syntaxes/**'
- 'tests/**'
- '**.md'
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: Checkout Repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version-file: '.nvmrc'
cache: npm
- name: npm install
run: npm ci
- name: lint
run: npm run lint
- name: format
run: npm run check-format
test:
strategy:
fail-fast: false
matrix:
vscode:
- '1.86.2'
- 'insiders'
- 'stable'
os:
- windows-latest
- macos-latest
- ubuntu-latest
runs-on: ${{ matrix.os }}
timeout-minutes: 10
steps:
- name: Checkout Repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version-file: '.nvmrc'
cache: npm
- name: Install Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false
terraform_version: '~1.7'
- name: Terraform version
run: terraform version
- name: Clean Install Dependencies
run: npm ci
- name: Run Tests
run: xvfb-run -a npm test
if: runner.os == 'Linux'
- name: Run Tests
run: npm test
if: runner.os != 'Linux'