Skip to content

Canary Testing

Canary Testing #16762

Workflow file for this run

name: Canary Testing
on:
schedule:
- cron: '0 * * * *'
workflow_dispatch: {}
release:
types:
- published
jobs:
install:
name: Installation User Flow
env:
WING_DISABLE_ANALYTICS: true
strategy:
fail-fast: true
matrix:
runner:
- ubuntu-latest
- windows-latest
- macos-latest
node:
- 18
- 20
install_command:
- npm install -g winglang@latest
runs-on: ${{ matrix.runner }}
steps:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install Wing
run: |
${{ matrix.install_command }}
- name: Create and test each quickstart app
shell: bash
run: |
templates=$(wing new --list-templates)
for template in $templates; do
mkdir "$template"
cd "$_"
wing new "$template"
wing test main.w
cd ..
done
- name: Download tests/valid/hello.test.w
run: |
curl -L https://raw.githubusercontent.com/winglang/wing/main/tests/valid/hello.test.w > hello.test.w
cat hello.test.w
- name: Run Compile
run: |
wing compile hello.test.w -t tf-aws