Skip to content

Add helm chart with initial functional test #1

Add helm chart with initial functional test

Add helm chart with initial functional test #1

Workflow file for this run

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

Check failure on line 21 in .github/workflows/pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr.yml

Invalid workflow file

error parsing called workflow ".github/workflows/pr.yml" -> "./.github/workflows/tox.yaml" : failed to fetch workflow: workflow was not found.
# 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'
# The integration tests require the charts, and are only worth running once
# the functional tests are passing
integration_tests:
needs: [publish_charts, functional_tests]
uses: ./.github/workflows/integration.yaml
with:
chart-version: ${{ needs.publish_charts.outputs.chart-version }}
secrets: inherit
if: github.repository == 'stackhpc/coral-credits'