From 76000c7d5831f867dc87dad0d77d2291d5b6e7c5 Mon Sep 17 00:00:00 2001 From: Daniel Gafni Date: Thu, 18 Apr 2024 17:12:02 +0200 Subject: [PATCH] fix --- .github/workflows/minikube_tests.yml | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/minikube_tests.yml diff --git a/.github/workflows/minikube_tests.yml b/.github/workflows/minikube_tests.yml new file mode 100644 index 0000000..2c9028f --- /dev/null +++ b/.github/workflows/minikube_tests.yml @@ -0,0 +1,35 @@ +name: Minikube Integration Tests +on: + push: + +jobs: + test: + runs-on: ubuntu-latest + name: build example and deploy to minikube + steps: + - name: Setup Python + uses: actions/setup-python@v2 + with: + python-version: 3.11 + - uses: actions/checkout@v4 + - name: Install and configure Poetry + uses: snok/install-poetry@v1 + with: + version: 1.4.2 + virtualenvs-create: false + virtualenvs-in-project: false + installer-parallel: true + - uses: azure/setup-helm@v4.2.0 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Start minikube + uses: medyagh/setup-minikube@master + with: + start: false + driver: docker + - name: Try the cluster ! + run: kubectl get pods -A + - name: Install dependencies + run: poetry install --all-extras --sync + - name: Run tests + run: pytest -v .