ci #1444
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: ci | |
# runs only after tox workflow finished successfully | |
on: | |
workflow_run: | |
workflows: [tox] | |
branches: [main] | |
types: | |
- completed | |
jobs: | |
server: | |
if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
uses: pycontribs/jira/.github/workflows/jira_server_ci.yml@main | |
cloud: | |
needs: server | |
uses: pycontribs/jira/.github/workflows/jira_cloud_ci.yml@main | |
secrets: | |
CLOUD_ADMIN: ${{ secrets.CI_JIRA_CLOUD_ADMIN }} | |
CLOUD_ADMIN_TOKEN: ${{ secrets.CI_JIRA_CLOUD_ADMIN_TOKEN }} | |
CLOUD_USER: ${{ secrets.CI_JIRA_CLOUD_USER }} | |
CLOUD_USER_TOKEN: ${{ secrets.CI_JIRA_CLOUD_USER_TOKEN }} | |
# 'check' the only job that should be marked as required in | |
# repository config, so we do not need to change required jobs | |
# when we add new/remove/rename jobs. | |
check: | |
needs: | |
- cloud | |
runs-on: ubuntu-latest | |
steps: | |
- name: Report success of the test matrix | |
run: >- | |
print("All's good") | |
shell: python |