Skip to content

Upgrade controller-gen to 0.15.0 (#7556) #39

Upgrade controller-gen to 0.15.0 (#7556)

Upgrade controller-gen to 0.15.0 (#7556) #39

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