features/.github/workflows/test-scenarios.yaml
Josh Spicer 3042260fc1
remove hardcoded devcontainer-cli (#65)
remove hardcoded devcontainer-cli in favor of fetching latest from npm dynamically
2022-07-18 10:40:36 -07:00

21 lines
543 B
YAML

name: "Test Scenarios"
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
jobs:
scenarios:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'no-ci') && !contains(github.event.head_commit.message, 'CI ignore')"
steps:
- uses: actions/checkout@v2
- name: "Install latest devcontainer CLI"
run: npm install -g @devcontainers/cli
- name: "Running predefined test scenarios"
run: devcontainer features test --scenarios `pwd`/test-scenarios -c `pwd`