-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(integrations): allow to link multiple psp accounts
- Loading branch information
Showing
26 changed files
with
4,306 additions
and
1,161 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 |
---|---|---|
@@ -1,57 +1,57 @@ | ||
name: TestE2E | ||
# name: TestE2E | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, review_requested, ready_for_review, synchronize] | ||
# on: | ||
# pull_request: | ||
# types: [opened, reopened, review_requested, ready_for_review, synchronize] | ||
|
||
jobs: | ||
cypress-run: | ||
if: github.event.pull_request.draft == false | ||
name: Run Test E2E | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out Git repository | ||
uses: actions/checkout@v4 | ||
# jobs: | ||
# cypress-run: | ||
# if: github.event.pull_request.draft == false | ||
# name: Run Test E2E | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Check out Git repository | ||
# uses: actions/checkout@v4 | ||
|
||
- name: Checkout API Git repository | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: getlago/lago-api | ||
ref: ${{ github.event.inputs.api_branch }} | ||
path: api | ||
token: ${{ secrets.GH_TOKEN }} | ||
# - name: Checkout API Git repository | ||
# uses: actions/checkout@v4 | ||
# with: | ||
# repository: getlago/lago-api | ||
# ref: ${{ github.event.inputs.api_branch }} | ||
# path: api | ||
# token: ${{ secrets.GH_TOKEN }} | ||
|
||
- name: Build Front local image | ||
run: | | ||
docker build -t getlago/front:ci ./ | ||
# - name: Build Front local image | ||
# run: | | ||
# docker build -t getlago/front:ci ./ | ||
|
||
- name: Build API local image | ||
run: | | ||
docker build -t getlago/api:ci ./api | ||
# - name: Build API local image | ||
# run: | | ||
# docker build -t getlago/api:ci ./api | ||
|
||
- name: Launch APP + API | ||
env: | ||
LAGO_RSA_PRIVATE_KEY: ${{ secrets.LAGO_RSA_PRIVATE_KEY }} | ||
LAGO_LICENSE: ${{ secrets.LAGO_LICENSE }} | ||
run: | | ||
docker-compose -f ./ci/docker-compose.ci.yml up -d db redis api front | ||
# - name: Launch APP + API | ||
# env: | ||
# LAGO_RSA_PRIVATE_KEY: ${{ secrets.LAGO_RSA_PRIVATE_KEY }} | ||
# LAGO_LICENSE: ${{ secrets.LAGO_LICENSE }} | ||
# run: | | ||
# docker-compose -f ./ci/docker-compose.ci.yml up -d db redis api front | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
# - name: Set up Node.js | ||
# uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 20 | ||
|
||
- name: Cypress run | ||
uses: cypress-io/github-action@v6 | ||
env: | ||
CYPRESS_GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
with: | ||
browser: chrome | ||
record: false | ||
config: baseUrl=http:https://localhost,viewportHeight=99999,viewportWidth=1280 | ||
spec: | | ||
cypress/e2e/00-auth/* | ||
cypress/e2e/10-resources/* | ||
cypress/e2e/t10-* | ||
cypress/e2e/t20-* | ||
cypress/e2e/t30-* | ||
# - name: Cypress run | ||
# uses: cypress-io/github-action@v6 | ||
# env: | ||
# CYPRESS_GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
# with: | ||
# browser: chrome | ||
# record: false | ||
# config: baseUrl=http:https://localhost,viewportHeight=99999,viewportWidth=1280 | ||
# spec: | | ||
# cypress/e2e/00-auth/* | ||
# cypress/e2e/10-resources/* | ||
# cypress/e2e/t10-* | ||
# cypress/e2e/t20-* | ||
# cypress/e2e/t30-* |
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
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
Oops, something went wrong.