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