aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test-scenarios.yaml
blob: 91fbf50e44dac94f36e0acbc8e4fd1c5300ade86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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`