Periodic Functional Tests #2281
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Periodic Functional Tests | |
on: | |
schedule: | |
- cron: '0 0 * * *' # Run every day at midnight | |
jobs: | |
run_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Create k8s Kind Cluster | |
uses: container-tools/kind-action@v2 | |
with: | |
cluster_name: kfp-tekton | |
kubectl_version: v1.29.2 | |
version: v0.22.0 | |
node_image: kindest/node:v1.29.2 | |
- name: Run Functional Tests | |
run: | | |
log_dir=$(mktemp -d) | |
./test/kfp-functional-test/kfp-functional-test.sh > $log_dir/periodic_tests.txt | |
- name: Collect test results | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: periodic-functional-artifacts | |
path: /tmp/tmp.*/* |