Test module #290
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 module | |
on: | |
workflow_dispatch: | |
inputs: | |
debug_shell: | |
description: "Debug shell" | |
required: true | |
type: boolean | |
workflow_run: | |
workflows: ["Publish images"] | |
types: [completed] | |
jobs: | |
module: | |
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == '' }} | |
uses: NethServer/ns8-github-actions/.github/workflows/module-info.yml@v1 | |
run_tests_on_do: | |
needs: module | |
uses: NethServer/ns8-github-actions/.github/workflows/test-on-digitalocean-infra.yml@v1 | |
with: | |
args: "ghcr.io/${{needs.module.outputs.owner}}/${{needs.module.outputs.name}}:${{needs.module.outputs.tag}}" | |
repo_ref: ${{needs.module.outputs.sha}} | |
secrets: | |
do_token: ${{ secrets.do_token }} |