fix: use POSIX sh for test scripts to support Alpine #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| name: Test Features | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| features: [blobber] | |
| baseImage: | |
| - mcr.microsoft.com/devcontainers/base:ubuntu | |
| - mcr.microsoft.com/devcontainers/base:debian | |
| - alpine:3.19 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install devcontainer CLI | |
| run: npm install -g @devcontainers/cli | |
| - name: Test feature (auto-generated) | |
| run: | | |
| devcontainer features test \ | |
| --features ${{ matrix.features }} \ | |
| --base-image ${{ matrix.baseImage }} \ | |
| --skip-scenarios \ | |
| . | |
| test-scenarios: | |
| name: Test Scenarios | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| features: [blobber] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install devcontainer CLI | |
| run: npm install -g @devcontainers/cli | |
| - name: Test feature scenarios | |
| run: | | |
| devcontainer features test \ | |
| --features ${{ matrix.features }} \ | |
| --skip-autogenerated \ | |
| . |