Skip to content

Fix transition command forwarding wrong transitions #252

Fix transition command forwarding wrong transitions

Fix transition command forwarding wrong transitions #252

Workflow file for this run

name: Run plugin tests
on:
pull_request:
branches: [main]
workflow_dispatch:
# manually triggered
# Required for test results reporting.
permissions:
checks: write
pull-requests: write
jobs:
run-unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
registry-url: https://registry.npmjs.org/
cache: npm
- run: npm install
- run: npm run build
- run: npm run eslint
- run: npm run test:coverage
- uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
check_name: Unit Test Results
files: |
.mocha/**/*.json
time_unit: milliseconds
- uses: actions/upload-artifact@v4
if: always()
with:
name: coverage-report
path: coverage
retention-days: 30
run-integration-tests:
runs-on: ubuntu-latest
needs: run-unit-tests
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
registry-url: https://registry.npmjs.org/
cache: npm
- run: npm install
- run: npm run build
- run: npm run test:integration
env:
CYPRESS_JIRA_API_TOKEN_CLOUD: ${{ secrets.CYPRESS_JIRA_API_TOKEN_CLOUD }}
CYPRESS_JIRA_PASSWORD_SERVER: ${{ secrets.CYPRESS_JIRA_PASSWORD_SERVER }}
CYPRESS_JIRA_PROJECT_KEY_CLOUD: ${{ secrets.CYPRESS_JIRA_PROJECT_KEY_CLOUD }}
CYPRESS_JIRA_PROJECT_KEY_SERVER: ${{ secrets.CYPRESS_JIRA_PROJECT_KEY_SERVER }}
CYPRESS_JIRA_URL_CLOUD: ${{ secrets.CYPRESS_JIRA_URL_CLOUD }}
CYPRESS_JIRA_URL_SERVER: ${{ secrets.CYPRESS_JIRA_URL_SERVER }}
CYPRESS_JIRA_USERNAME_CLOUD: ${{ secrets.CYPRESS_JIRA_USERNAME_CLOUD }}
CYPRESS_JIRA_USERNAME_SERVER: ${{ secrets.CYPRESS_JIRA_USERNAME_SERVER }}
CYPRESS_XRAY_CLIENT_ID_CLOUD: ${{ secrets.XRAY_CLIENT_ID }}
CYPRESS_XRAY_CLIENT_SECRET_CLOUD: ${{ secrets.XRAY_CLIENT_SECRET }}
- uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
check_name: Integration Test Results
files: |
.mocha/**/*.json
time_unit: milliseconds