-
-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1235 from Shubham-Patel07/fix/Issue1114
Simplified intigration test for K8s in cypress
- Loading branch information
Showing
15 changed files
with
431 additions
and
114 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,3 +34,28 @@ jobs: | |
- name: test script | ||
run: | | ||
./k8s-vault-minkube-start.sh && sleep 5 && curl http://localhost:8080/spoil/challenge-7 && minikube delete | ||
cypress-tests: | ||
name: Cypress Test for Challenges | ||
runs-on: ubuntu-latest | ||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: eLco/[email protected] | ||
- name: Start minikube | ||
uses: medyagh/setup-minikube@master | ||
with: | ||
minikube-version: 1.31.2 | ||
driver: docker | ||
kubernetes-version: v1.28.1 | ||
- name: Setup helm | ||
uses: azure/[email protected] | ||
id: install | ||
- name: test script | ||
run: | | ||
./k8s-vault-minkube-start.sh && sleep 5 && curl http://localhost:8080/spoil/challenge-7 | ||
- name: Run Tests | ||
run: | | ||
npm install cypress | ||
npx cypress run --config-file src/test/K8s-tests/cypress.config.js && minikube delete |
Oops, something went wrong.