Skip to content

Add first tests

Add first tests #699

name: Pull Request CI
on:
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
run-unit-tests:
name: Run Unit Tests
uses: ./.github/workflows/test.yaml
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
license-check:
name: License Check
uses: ./.github/workflows/license-check.yaml
lint:
name: Lint
uses: ./.github/workflows/lint-go.yaml
module-check:
name: Go Module Check
uses: ./.github/workflows/go-mod-check.yaml
run-e2e-tests:
name: E2E Tests
uses: ./.github/workflows/test-e2e.yaml
# This doesn't publish the image, it just tests the publishing workflow (build the image / tags / labels)
test-docker-publish:
name: Test Docker Publish
uses: ./.github/workflows/publish-docker-images.yaml
secrets: inherit
permissions:
contents: read
packages: write
with:
images: |
ghcr.io/${{ github.repository }}
tags: |
type=raw,value=${{ github.ref }}-${{ github.sha }}