Skip to content

Commit

Permalink
run e2e on preview
Browse files Browse the repository at this point in the history
  • Loading branch information
kpinter-iohk committed Feb 24, 2025
1 parent 69e1331 commit d6f501a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,26 @@ jobs:
K8S_SERVER: ${{ secrets.K8S_SERVER }}
K8S_SA_TOKEN: ${{ secrets.K8S_SA_TOKEN }}

ci-preview-tests-post-merge:
if: github.event_name == 'pull_request' && github.event.pull_request.merged == true
needs: deploy-ci-preview
runs-on: eks
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: master
- name: Deploy and test against ci-preview
uses: ./.github/actions/tests/run-e2e-tests
with:
env: ${{ env.TEST_ENVIRONMENT }}
init_timestamp: ${{ env.INIT_TIMESTAMP }}
blockchain: substrate
markers: "not active_flow and not passive_flow and not probability and not rpc"
env:
TEST_ENVIRONMENT: preview

post-merge-actions-complete:
if: ${{ always() && (github.event_name == 'pull_request' && github.event.pull_request.merged == true) }}
needs:
Expand All @@ -476,6 +496,7 @@ jobs:
deploy-rustdoc,
upload-chain-specs,
local-environment-tests-post-merge,
ci-preview-tests-post-merge,
deploy-ci-preview,
]
runs-on: ubuntu-latest
Expand Down

0 comments on commit d6f501a

Please sign in to comment.