aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test-scenarios.yaml
diff options
context:
space:
mode:
authorJosh Spicer <joshspicer@github.com>2022-07-18 20:40:36 +0300
committerGitHub <noreply@github.com>2022-07-18 20:40:36 +0300
commit3042260fc17c80f838a837c90cc9b2371bfb6365 (patch)
tree634e90677e80e755b7e7b3d6d64bdcfcc75c44e6 /.github/workflows/test-scenarios.yaml
parentb0e2f6ac23afbdef657e4b4973c02ec35a30c7bd (diff)
remove hardcoded devcontainer-cli (#65)
remove hardcoded devcontainer-cli in favor of fetching latest from npm dynamically
Diffstat (limited to '.github/workflows/test-scenarios.yaml')
-rw-r--r--.github/workflows/test-scenarios.yaml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/test-scenarios.yaml b/.github/workflows/test-scenarios.yaml
index 61e3026..91fbf50 100644
--- a/.github/workflows/test-scenarios.yaml
+++ b/.github/workflows/test-scenarios.yaml
@@ -12,5 +12,9 @@ jobs:
if: "!contains(github.event.head_commit.message, 'no-ci') && !contains(github.event.head_commit.message, 'CI ignore')"
steps:
- uses: actions/checkout@v2
- - name: " Running predefined test scenarios"
- run: npx --yes ./devcontainers-cli-0.7.0-jospicer01.tgz features test --scenarios `pwd`/test-scenarios -c `pwd`
+
+ - 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`