generate API docs #237
Workflow file for this run
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: on pull request | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- ready_for_review | |
- edited | |
- reopened | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
# Run the unit tests on every PR, even from external repos | |
unit_tests: | |
uses: ./.github/workflows/tox.yaml | |
# When the PR is from a branch of the main repo, publish images and charts | |
publish_images: | |
uses: ./.github/workflows/publish-images.yaml | |
if: github.repository == 'stackhpc/coral-credits' | |
publish_charts: | |
needs: [publish_images] | |
uses: ./.github/workflows/publish-charts.yaml | |
if: github.repository == 'stackhpc/coral-credits' | |
# The functional tests require the runner image, so we can only run them | |
# once the image has been built, and on PRs from the main repo | |
functional_tests: | |
needs: [publish_images] | |
uses: ./.github/workflows/functional.yaml | |
if: github.repository == 'stackhpc/coral-credits' |