Skip to content

Commit

Permalink
use minikube action (#121)
Browse files Browse the repository at this point in the history
* try to use minikube action

* Update build-test.yml

* Update build-test.yml

* Update build-test.yml

* Update build-test.yml

* Update build-test.yml

* Update build-test.yml

* Update build-test.yml

* Update build-test.yml

* Update build-test.yml

* reenable rest of build
  • Loading branch information
pjfanning authored Oct 7, 2024
1 parent e0901d5 commit be544f9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 112 deletions.
30 changes: 20 additions & 10 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ jobs:

- name: Test pekko-sample-fsm-scala
run: cd pekko-sample-fsm-scala && sbt test

# Disable due to https://github.com/apache/pekko-samples/issues/119
# - name: Test pekko-sample-grpc-kubernetes-scala
# run: cd pekko-sample-grpc-kubernetes-scala && ./scripts/setup-minikube-for-linux.sh && ./scripts/test.sh

- name: Test pekko-sample-persistence-java
run: cd pekko-sample-persistence-java && mvn test
Expand Down Expand Up @@ -81,12 +77,26 @@ jobs:
- name: Test pekko-sample-cluster-docker-compose-scala
run: cd pekko-sample-cluster-docker-compose-scala && ./scripts/test.sh

# Disable due to https://github.com/apache/pekko-samples/issues/119
# - name: Test pekko-sample-cluster-kubernetes-scala
# run: cd pekko-sample-cluster-kubernetes-scala && ./scripts/setup-minikube-for-linux.sh && ./scripts/test.sh
#
# - name: Test pekko-sample-cluster-kubernetes-java
# run: cd pekko-sample-cluster-kubernetes-java && ./scripts/setup-minikube-for-linux.sh && ./scripts/test.sh
# Tests below require Minikube
- name: Start minikube
uses: manusa/actions-setup-minikube@v2.12.0
with:
driver: docker
minikube version: 'v1.34.0'
kubernetes version: 'v1.31.1'

- name: Enable ingress
run: minikube addons enable ingress

- name: Test pekko-sample-grpc-kubernetes-scala
run: cd pekko-sample-grpc-kubernetes-scala && ./scripts/test.sh

- name: Test pekko-sample-cluster-kubernetes-scala
run: cd pekko-sample-cluster-kubernetes-scala && ./scripts/test.sh

- name: Test pekko-sample-cluster-kubernetes-java
run: minikube start && cd pekko-sample-cluster-kubernetes-java && ./scripts/test.sh

# Build and test the documentation
- name: Test docs gen
run: cd docs-gen && sbt paradox

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit be544f9

Please sign in to comment.