Skip to content

feat(testing): Add e2e tests for docker #178

feat(testing): Add e2e tests for docker

feat(testing): Add e2e tests for docker #178

Workflow file for this run

name: CI
on:
pull_request:
branches: ["main"]
types: [synchronize, labeled, unlabeled]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
validate-files-and-commits:
name: Lint Files & commits
if: |
contains(github.event.pull_request.labels.*.name, 'ok-to-test') &&
!contains(github.event.pull_request.labels.*.name, 'skip-lint')
uses: ./.github/workflows/validate-files-and-commits.yml
secrets: inherit
lint:
name: Lint code
if: |
contains(github.event.pull_request.labels.*.name, 'ok-to-test') &&
!contains(github.event.pull_request.labels.*.name, 'skip-lint')
uses: ./.github/workflows/lint.yml
secrets: inherit
build:
#needs: [validate-files-and-commits, lint]
name: Build
if: |
contains(github.event.pull_request.labels.*.name, 'ok-to-test') &&
!contains(github.event.pull_request.labels.*.name, 'skip-build')
uses: ./.github/workflows/build.yml
secrets: inherit
unit_test:
#needs: [validate-files-and-commits, lint]
name: Unit tests
if: |
contains(github.event.pull_request.labels.*.name, 'ok-to-test') &&
!contains(github.event.pull_request.labels.*.name, 'skip-build')
uses: ./.github/workflows/unit_test.yml
secrets: inherit
#FIXME: run for arm64
vm_test:
needs: [build,unit_test]
name: E2E test
if: |
contains(github.event.pull_request.labels.*.name, 'ok-to-test') &&
!contains(github.event.pull_request.labels.*.name, 'skip-build')
uses: ./.github/workflows/vm_test.yml
secrets: inherit