File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : E2E Tests
2+ on :
3+ workflow_call :
4+
5+ jobs :
6+ read-version :
7+ name : ' Read package version'
8+ runs-on : ubuntu-latest
9+ outputs :
10+ version : ${{ steps.version.outputs.version }}
11+ steps :
12+ - uses : actions/checkout@v4
13+ - name : Read version from config.json
14+ id : version
15+ run : echo version=$(node -p "require('./package.json').version") >> $GITHUB_OUTPUT
16+ e2e-tests :
17+ name : ' Run E2E tests'
18+ needs : read-version
19+ uses : fingerprintjs/dx-team-toolkit/.github/workflows/run-server-sdk-e2e-tests.yml@v1
20+ with :
21+ sdk : python
22+ sdkVersion : ${{ needs.read-version.outputs.version }}
23+ appId : ${{ vars.RUNNER_APP_ID }}
24+ commitSha : ${{ github.event.pull_request.head.sha || github.sha }}
25+ secrets :
26+ APP_PRIVATE_KEY : ${{ secrets.RUNNER_APP_PRIVATE_KEY }}
27+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
Original file line number Diff line number Diff line change 4848 - name : Publish package distributions to PyPI
4949 uses : pypa/gh-action-pypi-publish@897895f1e160c830e369f9779632ebc134688e1b
5050
51+ e2e-tests :
52+ needs : publish
53+ uses : ./.github/workflows/e2e-tests.yml
54+
5155
You can’t perform that action at this time.
0 commit comments