generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'stage' of https://github.com/adobecom/milo into sartxi/…
…MWPW-154980-publishing
- Loading branch information
Showing
358 changed files
with
23,425 additions
and
6,919 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
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,46 @@ | ||
name: MAS Unit Tests | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
jobs: | ||
run-tests: | ||
name: Running tests | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Set up Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install npm dependencies | ||
run: npm install | ||
working-directory: libs/features/mas | ||
|
||
- name: Run npm test | ||
run: npm test | ||
working-directory: libs/features/mas | ||
|
||
- name: Upload commerce coverage to Codecov | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
name: mas-commerce | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: libs/features/mas/commerce/coverage/lcov.info | ||
|
||
- name: Upload web-components coverage to Codecov | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
name: mas-web-components | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: libs/features/mas/web-components/coverage/lcov.info |
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,48 @@ | ||
name: Run Nala Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- stage | ||
- main | ||
pull_request: | ||
branches: | ||
- stage | ||
- main | ||
types: [opened, synchronize, reopened] | ||
|
||
jobs: | ||
run-nala-tests: | ||
name: Running Nala E2E UI Tests | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Set up Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Set execute permission for nalarun.sh | ||
run: chmod +x ./nala/utils/pr.run.sh | ||
|
||
- name: Run Nala Tests via pr.run.sh | ||
run: ./nala/utils/pr.run.sh | ||
env: | ||
labels: ${{ join(github.event.pull_request.labels.*.name, ' ') }} | ||
branch: ${{ github.event.pull_request.head.ref }} | ||
repoName: ${{ github.repository }} | ||
prUrl: ${{ github.event.pull_request.head.repo.html_url }} | ||
prOrg: ${{ github.event.pull_request.head.repo.owner.login }} | ||
prRepo: ${{ github.event.pull_request.head.repo.name }} | ||
prBranch: ${{ github.event.pull_request.head.ref }} | ||
prBaseBranch: ${{ github.event.pull_request.base.ref }} | ||
GITHUB_ACTION_PATH: ${{ github.workspace }} | ||
IMS_EMAIL: ${{ secrets.IMS_EMAIL }} | ||
IMS_PASS: ${{ secrets.IMS_PASS }} |
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 |
---|---|---|
|
@@ -8,3 +8,5 @@ logs/* | |
.iml | ||
.env | ||
**/mas/*/stats.json | ||
test-html-results/ | ||
test-results/ |
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 |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
.* | ||
*.md | ||
test/* | ||
nala | ||
build/* | ||
LICENSE | ||
web-test-runner.config.mjs | ||
|
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.