+
Skip to content

Sending error object in addition to error message in case of IMS token failures #205

Sending error object in addition to error message in case of IMS token failures

Sending error object in addition to error message in case of IMS token failures #205

name: Nala Tests Label Trigger
on:
pull_request:
types: [ labeled, opened, synchronize, reopened ]
jobs:
action:
name: Running Nala E2E UI Tests
runs-on: ubuntu-latest
if: |
github.event_name == 'workflow_dispatch' ||
contains(join(github.event.pull_request.labels.*.name, ' '), 'run-nala')
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
fetch-depth: 2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e
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 }}
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载