[1139] Fixed Code Spells #16
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: "PR - Test Updated Features (arm64)" | |
| on: | |
| pull_request: | |
| # NOTE: To extend this workflow to other features, add path entries below | |
| # following the same pattern, e.g.: | |
| # - "src/<feature-name>/**" | |
| # - "test/<feature-name>/**" | |
| paths: | |
| - "src/powershell/**" | |
| - "test/powershell/**" | |
| jobs: | |
| detect-changes: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| features: ${{ steps.filter.outputs.changes }} | |
| steps: | |
| - uses: dorny/paths-filter@v4 | |
| id: filter | |
| with: | |
| # NOTE: To extend this workflow to other features, add filter entries below | |
| # following the same pattern, e.g.: | |
| # <feature-name>: ./**/<feature-name>/** | |
| filters: | | |
| powershell: ./**/powershell/** | |
| test: | |
| needs: [detect-changes] | |
| runs-on: ubuntu-24.04-arm | |
| continue-on-error: true | |
| strategy: | |
| matrix: | |
| features: ${{ fromJSON(needs.detect-changes.outputs.features) }} | |
| baseImage: | |
| [ | |
| "ubuntu:focal", | |
| "ubuntu:jammy", | |
| "debian:11", | |
| "debian:12", | |
| "mcr.microsoft.com/devcontainers/base:ubuntu", | |
| "mcr.microsoft.com/devcontainers/base:debian", | |
| "mcr.microsoft.com/devcontainers/base:noble" | |
| ] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: "Install latest devcontainer CLI" | |
| run: npm install -g @devcontainers/cli | |
| - name: "Generating tests for '${{ matrix.features }}' against '${{ matrix.baseImage }}'" | |
| run: devcontainer features test --skip-scenarios -f ${{ matrix.features }} -i ${{ matrix.baseImage }} . | |
| test-scenarios: | |
| needs: [detect-changes] | |
| runs-on: ubuntu-24.04-arm | |
| continue-on-error: true | |
| strategy: | |
| matrix: | |
| features: ${{ fromJSON(needs.detect-changes.outputs.features) }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: "Install latest devcontainer CLI" | |
| run: npm install -g @devcontainers/cli | |
| - name: "Testing '${{ matrix.features }}' scenarios" | |
| run: devcontainer features test -f ${{ matrix.features }} --skip-autogenerated . |