Skip to content

Commit

Permalink
Feature/add trigger e2e tests dev (#256)
Browse files Browse the repository at this point in the history
### Description
<!-- Describe what change this PR is implementing -->

### Types of Changes
<!--- What types of changes does your code introduce? -->
- [ ] Tech Debt (Code improvements)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Dependency upgrade (A change in substrate or any 3rd party crate
version)

### Migrations and Hooks
<!--- Check the following box with an x if the following applies: -->
- [ ] This change requires a runtime migration.
- [ ] Modifies `on_initialize`
- [ ] Modifies `on_finalize`

### Checklist
<!--- All boxes need to be checked. Follow this checklist before
requiring PR review -->
- [ ] Change has been tested locally.
- [ ] Change adds / updates tests.
- [ ] Changelog doc updated.
  • Loading branch information
tabakopavel authored Jan 31, 2024
1 parent 7d5beee commit 3dfb1c6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,26 @@ jobs:
with:
name: "cere_dev_runtime.compact.compressed.${{ env.GITHUB_SHA }}.wasm"
path: "./${{ env.CERE_DEV_RUNTIME }}"

trigger-e2e-tests:
runs-on: ubuntu-latest
needs: build
steps:
- name: 'Trigger e2e DDC tests'
uses: convictional/trigger-workflow-and-wait@v1.6.5
with:
owner: Cerebellum-Network
repo: ddc-api-e2e-simulations
github_token: ${{ secrets.GH_E2E_TOKEN }}
comment_github_token: ${{ secrets.GH_E2E_TOKEN }}
github_user: devops-cere
workflow_file_name: run-simulations-env-local-triggered.yml
client_payload: |-
{
"POS_NODE_VERSION": "dev-latest"
}
ref: master
propagate_failure: false
trigger_workflow: true
wait_workflow: false
comment_downstream_url: ${{ github.event.pull_request.comments_url }}

0 comments on commit 3dfb1c6

Please sign in to comment.