Integrate EdgeCraftRAG set_env to ut scripts and add README.md for UT… #5
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
| # Copyright (C) 2024 Intel Corporation | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # Test | |
| name: Build latest images on push event | |
| on: | |
| push: | |
| branches: [ 'main' ] | |
| paths: | |
| - "**.py" | |
| - "**Dockerfile*" | |
| - "**docker_image_build/build.yaml" | |
| - "**/ui/**" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }}-on-push | |
| cancel-in-progress: true | |
| jobs: | |
| job1: | |
| uses: ./.github/workflows/_get-test-matrix.yml | |
| with: | |
| test_mode: "docker_image_build" | |
| image-build: | |
| needs: job1 | |
| if: ${{ needs.job1.outputs.run_matrix != '{"include":[]}' }} | |
| strategy: | |
| matrix: ${{ fromJSON(needs.job1.outputs.run_matrix) }} | |
| fail-fast: false | |
| uses: ./.github/workflows/_example-workflow.yml | |
| with: | |
| node: ${{ matrix.hardware }} | |
| example: ${{ matrix.example }} | |
| secrets: inherit |