diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e186cdf..e934ae8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,11 +34,3 @@ jobs: - uses: actions/checkout@v4 - run: npm install -g @devcontainers/cli - run: devcontainer features test -f ${{ matrix.features }} --skip-autogenerated --skip-duplicated . - test-global: - name: Test global scenarios - runs-on: ubuntu-latest - continue-on-error: true - steps: - - uses: actions/checkout@v4 - - run: npm install -g @devcontainers/cli - - run: devcontainer features test --global-scenarios-only . diff --git a/test/actionlint/actionlint-install-path.sh b/test/actionlint/actionlint-install-path.sh new file mode 100755 index 0000000..0147da6 --- /dev/null +++ b/test/actionlint/actionlint-install-path.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +set -e + +# Optional: Import test library bundled with the devcontainer CLI +# See https://github.com/devcontainers/cli/blob/HEAD/docs/features/test.md#dev-container-features-test-lib +# Provides the 'check' and 'reportResults' commands. +source dev-container-features-test-lib + +# Feature-specific tests +# The 'check' command comes from the dev-container-features-test-lib. Syntax is... +# check