add support for Operators for Generic target needed in MAGIA #619
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
| # SPDX-FileCopyrightText: 2025 ETH Zurich and University of Bologna | |
| # | |
| # SPDX-License-Identifier: Apache-2.0 | |
| --- | |
| name: CI • Deeploy | |
| "on": | |
| push: | |
| branches: | |
| - "**" | |
| tags: | |
| - "v*.*.*" | |
| pull_request: | |
| workflow_dispatch: | |
| inputs: | |
| docker_image_deeploy: | |
| description: "Deeploy Image to use" | |
| required: false | |
| default: "ghcr.io/pulp-platform/deeploy:devel" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| select-env: | |
| uses: ./.github/workflows/_select-env.yml | |
| with: | |
| docker_image_deeploy: ${{ inputs.docker_image_deeploy }} | |
| build-deeploy: | |
| needs: select-env | |
| runs-on: ${{ needs.select-env.outputs.runner }} | |
| container: | |
| image: ${{ needs.select-env.outputs.image }} | |
| steps: | |
| - name: Mark workspace as safe | |
| run: git config --global --add safe.directory '*' | |
| - name: Checkout Repo | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Build Deeploy | |
| shell: bash | |
| run: pip install -e . | |
| deeploy-internal-tests: | |
| needs: select-env | |
| runs-on: ${{ needs.select-env.outputs.runner }} | |
| container: | |
| image: ${{ needs.select-env.outputs.image }} | |
| steps: | |
| - name: Mark workspace as safe | |
| run: git config --global --add safe.directory '*' | |
| - name: Checkout Repo | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Build Deeploy | |
| shell: bash | |
| run: pip install -e . | |
| - name: Run Internal Tests | |
| shell: bash | |
| run: | | |
| cd DeeployTest | |
| pytest -v -m deeploy_internal -n 4 |