Skip to content

Commit

Permalink
ci (e2e/release): Add e2e tests requirements onto release process
Browse files Browse the repository at this point in the history
  • Loading branch information
JPPortier committed Sep 27, 2024
1 parent c635c82 commit d26e6d7
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,29 @@ jobs:
run: |
git checkout -b "release-${{ github.event.inputs.releaseVersion }}"
# e2e requirements
- name: Checkout sinch-sdk-mockserver repository
uses: actions/checkout@v3
with:
repository: sinch/sinch-sdk-mockserver
token: ${{ secrets.MOCKSERVER_REPO_PAT_CI }}
fetch-depth: 0
path: sinch-sdk-mockserver

- name: Install Docker Compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
- name: Start mock servers with Docker Compose
run: |
cd sinch-sdk-mockserver
docker-compose up -d
- name: Link to feature files
run: |
ln -s ${{ github.workspace }}/sinch-sdk-mockserver/features client/src/test/resources
- name: Release
run: scripts/release.sh
env:
Expand Down

0 comments on commit d26e6d7

Please sign in to comment.