3042260fc1
remove hardcoded devcontainer-cli in favor of fetching latest from npm dynamically
21 lines
543 B
YAML
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`
|