Skip to content

Commit

Permalink
periodic functional tests migration
Browse files Browse the repository at this point in the history
Signed-off-by: shruti2522 <shruti.apc01@gmail.com>

feat: migrate periodic functional tests to GH actions

Signed-off-by: shruti2522 <shruti.apc01@gmail.com>

feat: migrate periodic functional tests to GH actions

Signed-off-by: shruti2522 <shruti.apc01@gmail.com>
  • Loading branch information
shruti2522 committed Apr 25, 2024
1 parent 75184e9 commit 19a8d7f
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/periodic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Periodic Functional Tests

on:
schedule:
- cron: '*/5 * * * *' # run every 5 minutes

jobs:
run_tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

jobs:
setup_kind:
runs-on: ubuntu-latest
steps:
- name: Check if Docker is installed
run: |
if ! command -v docker &> /dev/null
then
echo "Docker is not installed. Installing Docker..."
sudo apt-get update
sudo apt-get install -y docker.io
else
echo "Docker is already installed."
fi
- name: Install KinD
run: |
curl -Lo kind https://kind.sigs.k8s.io/dl/v0.11.1/kind-linux-amd64
chmod +x kind
sudo mv kind /usr/local/bin
- name: Verify KinD installation
run: kind version

- name: Run Functional Tests
run:
./test/kfp-functional-test/kfp-functional-test.sh

- name: Archive Test Results
uses: actions/upload-artifact@v2
with:
name: test-results
path: ./test/results

0 comments on commit 19a8d7f

Please sign in to comment.