-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
sam
committed
Feb 25, 2024
1 parent
caa87ed
commit 6aad498
Showing
3 changed files
with
55 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Integration and Functional tests | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
- staging | ||
- dev | ||
|
||
jobs: | ||
setup: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
php-versions: ['7.4'] | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Cypress dependencies | ||
run: sudo apt update && sudo apt-get install -y xvfb libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth | ||
|
||
# RUN CYPRESS TESTS ---------------- | ||
- name: Run Cypress keycloak tests | ||
uses: cypress-io/github-action@v6 | ||
with: | ||
start: npx http-server -p 8000 -c-1 | ||
command: npm run cy:test:oidc | ||
env: | ||
CYPRESS_BASE_URL: http://localhost:8000 | ||
CYPRESS_KEYCLOAK_URL: http://localhost:8080 | ||
|
||
|
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