Skip to content

tests: Migrate pipeline unit tests #2

tests: Migrate pipeline unit tests

tests: Migrate pipeline unit tests #2

Workflow file for this run

name: tests-pipeline
on:
pull_request:
branches:
- main
- release-*
jobs:
unit-static:
runs-on: ubuntu-latest
steps:
- name: checkout compliantkubernetes-apps
uses: actions/checkout@v4
- name: setup docker with buildx
uses: docker/setup-buildx-action@v3
- name: build tests container image
uses: docker/build-push-action@v5
with:
cache-from: type=gha
context: .
load: true
pull: false
push: false
tags: compliantkubernetes-apps/tests:main
- name: run static unit tests
working-directory: ./tests
env:
CK8S_STATIC_TESTS: true
run: make ctr-run-static