ci: Try to run the test on GH runners #71
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
| name: Nightly | ||
| on: | ||
| pull_request: | ||
| branches: ["main"] | ||
| types: [synchronize, labeled, unlabeled] | ||
| #schedule: | ||
| #- cron: '0 0 * * *' | ||
| workflow_dispatch: | ||
| inputs: | ||
| ref: | ||
| required: true | ||
| type: string | ||
| skip-build: | ||
| description: 'Skip the build job?' | ||
| required: false | ||
| default: "no" | ||
| type: string | ||
| skip-lint: | ||
| description: 'Skip the lint job?' | ||
| required: false | ||
| default: "no" | ||
| type: string | ||
| workflow_call: | ||
| inputs: | ||
| ref: | ||
| required: true | ||
| type: string | ||
| skip-build: | ||
| description: 'Skip the build job?' | ||
| required: false | ||
| default: "no" | ||
| type: string | ||
| skip-lint: | ||
| description: 'Skip the lint job?' | ||
| required: false | ||
| default: "no" | ||
| type: string | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
| cancel-in-progress: true | ||
| jobs: | ||
| urunc-deploy: | ||
| name: Test urunc-deploy | ||
| uses: ./.github/workflows/urunc-deploy.yml | ||
| with: | ||
| ref: ${{ github.sha }} | ||
| skip-build: ${{ inputs.skip-build }} | ||
| skip-lint: ${{ inputs.skip-lint }} | ||
| secrets: inherit | ||
| # knative_test: | ||
| # needs: [urunc-deploy] | ||
| # name: Test Knative | ||
| # if: | | ||
| # contains(github.event.pull_request.labels.*.name, 'ok-to-test') && | ||
| # !contains(github.event.pull_request.labels.*.name, 'skip-test') | ||
| # uses: ./.github/workflows/knative_test.yml | ||
| # secrets: inherit | ||