support rad app graph app.bicep (modeled graphs) #328
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
| # yaml-language-server: $schema=https://www.schemastore.org/github-workflow.json | |
| --- | |
| name: Nightly rad CLI tests | |
| on: | |
| schedule: | |
| # Run every day at 11:47 PM UTC | |
| - cron: 47 23 * * * | |
| workflow_dispatch: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| paths: | |
| - .github/workflows/nightly-rad-CLI-tests.yaml | |
| permissions: {} | |
| jobs: | |
| download: | |
| if: github.repository == 'radius-project/radius' | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 5 | |
| strategy: | |
| matrix: | |
| include: | |
| - os: linux | |
| arch: amd64 | |
| file: rad | |
| - os: linux | |
| arch: arm64 | |
| file: rad | |
| - os: linux | |
| arch: arm | |
| file: rad | |
| - os: darwin | |
| arch: amd64 | |
| file: rad | |
| - os: darwin | |
| arch: arm64 | |
| file: rad | |
| - os: windows | |
| arch: amd64 | |
| file: rad | |
| ext: .exe | |
| permissions: | |
| contents: read | |
| issues: write # Required to create an issue when the nightly run fails | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| persist-credentials: false | |
| - name: Test CLI download | |
| env: | |
| MATRIX_OS: ${{ matrix.os }} | |
| MATRIX_ARCH: ${{ matrix.arch }} | |
| MATRIX_FILE: ${{ matrix.file }} | |
| MATRIX_EXT: ${{ matrix.ext }} | |
| run: make test-cli-download OS="${MATRIX_OS}" ARCH="${MATRIX_ARCH}" FILE="${MATRIX_FILE}" EXT="${MATRIX_EXT}" | |
| - name: Create GitHub issue on failure | |
| if: ${{ failure() }} | |
| run: | | |
| gh issue create \ | |
| --title "CLI nightly test failed - ${MATRIX_OS}-${MATRIX_ARCH}" \ | |
| --body "Test failed on ${GITHUB_REPOSITORY} for ${MATRIX_OS}-${MATRIX_ARCH}. See [workflow logs](${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}) for more details." \ | |
| --label "test-failure" \ | |
| --repo "${GITHUB_REPOSITORY}" | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| MATRIX_OS: ${{ matrix.os }} | |
| MATRIX_ARCH: ${{ matrix.arch }} |