Skip to content

Push & PR to the main branch #19

Push & PR to the main branch

Push & PR to the main branch #19

Workflow file for this run

name: Push & PR to the main branch
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Helm
uses: ./.github/actions/setup_helm
- name: Run linter
run: helm lint
unit-test:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Helm
uses: ./.github/actions/setup_helm
- name: Install Helm unit test plugin
run: helm plugin install https://github.com/helm-unittest/helm-unittest.git
- name: Run unit tests
run: helm unittest --color .
integration-test:
name: Integration Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Helm unit test plugin
run: bash spec/fixtures/create-cluster-with-passbolt.sh
- name: Run helm tests
run: helm test passbolt -n default --logs