feat: migrate action from datalens public #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
e2e-default: | |
runs-on: ubuntu-20.04 | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Test Run | |
id: test-run-default | |
uses: ./ | |
with: | |
github_pr_title: "feat: BI-1234 lyalyalya topolya" | |
- name: Assert placeholder | |
uses: nick-fields/assert-action@v2 | |
with: | |
actual: ${{ steps.test-run-default.outcome }} | |
expected: "success" | |
e2e-with-components: | |
runs-on: ubuntu-20.04 | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Test Run | |
id: test-run-with-components | |
uses: ./ | |
with: | |
github_pr_title: "feat(docs, auth): BI-1234 lyalyalya topolya" | |
- name: Assert placeholder | |
uses: nick-fields/assert-action@v2 | |
with: | |
actual: ${{ steps.test-run-with-components.outcome }} | |
expected: "success" | |
e2e-wrong-type: | |
runs-on: ubuntu-20.04 | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Test Run | |
id: test-run-wrong-type | |
uses: ./ | |
with: | |
github_pr_title: "new-feature: BI-1234 lyalyalya topolya" # legacy type | |
- name: Assert placeholder | |
uses: nick-fields/assert-action@v2 | |
with: | |
actual: ${{ steps.test-run-wrong-type.outcome }} | |
expected: "failure" | |
e2e-without-ticket: | |
runs-on: ubuntu-20.04 | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Test Run | |
id: test-run-without-ticket | |
uses: ./ | |
with: | |
github_pr_title: "feat: lyalyalya topolya" | |
- name: Assert placeholder | |
uses: nick-fields/assert-action@v2 | |
with: | |
actual: ${{ steps.test-run-without-ticket.outcome }} | |
expected: "failure" |