Move database and similar packages to components (#8148) #415
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: "Test dev container feature" | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths: | |
- "deploy/devcontainer-feature/**" | |
- ".github/workflows/devcontainer-feature-test.yaml" | |
branches: | |
- main | |
workflow_call: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
baseImage: | |
- mcr.microsoft.com/devcontainers/base:ubuntu | |
- mcr.microsoft.com/devcontainers/base:debian | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Install latest devcontainer CLI" | |
run: npm install -g @devcontainers/cli | |
- name: "Generating tests for Radius CLI (default) against '${{ matrix.baseImage }}'" | |
run: devcontainer features test --skip-scenarios -f radcli -i ${{ matrix.baseImage }} . | |
working-directory: ./deploy/devcontainer-feature | |
test-scenarios: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Install latest devcontainer CLI" | |
run: npm install -g @devcontainers/cli | |
- name: "Generating tests for radcli scenarios" | |
run: devcontainer features test -f radcli --skip-autogenerated --skip-duplicated . | |
working-directory: ./deploy/devcontainer-feature |