Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: E2E Tests
on:
workflow_call:

jobs:
read-version:
name: 'Read package version'
runs-on: ubuntu-latest
outputs:
version: ${{ steps.version.outputs.version }}
steps:
- uses: actions/checkout@v4
- name: Read version from config.json
id: version
run: echo version=$(node -p "require('./package.json').version") >> $GITHUB_OUTPUT
e2e-tests:
name: 'Run E2E tests'
needs: read-version
uses: fingerprintjs/dx-team-toolkit/.github/workflows/run-server-sdk-e2e-tests.yml@v1
with:
sdk: python
sdkVersion: ${{ needs.read-version.outputs.version }}
appId: ${{ vars.RUNNER_APP_ID }}
commitSha: ${{ github.event.pull_request.head.sha || github.sha }}
secrets:
APP_PRIVATE_KEY: ${{ secrets.RUNNER_APP_PRIVATE_KEY }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,8 @@ jobs:
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@897895f1e160c830e369f9779632ebc134688e1b

e2e-tests:
needs: publish
uses: ./.github/workflows/e2e-tests.yml


Loading