fix: feature should work without worry of rate limits or architecture #24
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: Testing | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| test-devcontainer-feature-autogenerated: | |
| strategy: | |
| matrix: | |
| baseImage: | |
| - debian:latest | |
| - ubuntu:latest | |
| - mcr.microsoft.com/devcontainers/base:ubuntu | |
| runsOn: | |
| - ubuntu-24.04-arm | |
| - ubuntu-latest | |
| runs-on: ${{ matrix.runsOn }} | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Install the latest devcontainer CLI | |
| run: npm install -g @devcontainers/cli | |
| - name: Generating tests for dotslash against '${{ matrix.baseImage }}' | |
| run: devcontainer features test -f dotslash --skip-scenarios -i '${{ matrix.baseImage }}' devcontainer-features | |
| test-devcontainer-feature-scenarios: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Install the latest devcontainer CLI | |
| run: npm install -g @devcontainers/cli | |
| - name: Tests for dotslash | |
| run: devcontainer features test -f dotslash --skip-autogenerated --skip-duplicated devcontainer-features | |
| validate-devcontainer-feature: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Validate devcontainer-feature.json files | |
| uses: devcontainers/action@1082abd5d2bf3a11abccba70eef98df068277772 # v1.4.3 | |
| with: | |
| validate-only: "true" | |
| base-path-to-features: ./devcontainer-features/src |