Merge pull request #68 from microsoft/fix-arguments #72
This file contains 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: "CI - Test All Features" | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
strategy: | |
matrix: | |
features: | |
- artifacts-helper | |
- devtool | |
- docfx | |
- external-repository | |
- microsoft-git | |
- go | |
baseImage: | |
- mcr.microsoft.com/devcontainers/base:ubuntu | |
- mcr.microsoft.com/devcontainers/base:debian | |
- mcr.microsoft.com/cbl-mariner/base/core:2.0 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Install latest devcontainer CLI" | |
run: npm install -g @devcontainers/cli | |
- name: "Generating tests for '${{ matrix.features }}' against '${{ matrix.baseImage }}'" | |
run: devcontainer features test -f ${{ matrix.features }} -i ${{ matrix.baseImage }} . | |
test-global: | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Install latest devcontainer CLI" | |
run: npm install -g @devcontainers/cli | |
- name: "Testing global scenarios" | |
run: devcontainer features test --global-scenarios-only . |