diff --git a/.github/workflows/pr-ci.yml b/.github/workflows/pr-ci.yml index c5e48c5053..64fc97133b 100644 --- a/.github/workflows/pr-ci.yml +++ b/.github/workflows/pr-ci.yml @@ -7,7 +7,7 @@ on: pull_request: branches: [ master, dev ] paths-ignore: - - '.github/**' + # - '.github/**' - 'docs/**' - 'build/**' - 'README.md' @@ -31,14 +31,30 @@ jobs: publish-tag: needs: build runs-on: ubuntu-latest + if: ${{ github.event_name == 'pull_request' }} env: GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }} steps: - - name: publish-tag - if: ${{ github.event_name == 'pull_request' }} + - name: publish-tag uses: VirtoCommerce/vc-github-actions/publish-artifact-link@master with: artifactUrl: ${{ needs.build.outputs.imageTag}} repoOrg: ${{ github.repository_owner }} downloadComment: 'Image tag:' - githubToken: ${{ env.GITHUB_TOKEN }} \ No newline at end of file + githubToken: ${{ env.GITHUB_TOKEN }} + + platform-katalon-tests: + needs: build + if: ${{ (github.event_name == 'workflow_dispatch') }} + uses: VirtoCommerce/.github/.github/workflows/e2e.yml@v3.800.9 + with: + katalonRepo: 'VirtoCommerce/vc-quality-gate-katalon' + katalonRepoBranch: 'dev' + testSuite: 'Test Suites/Modules/Platform_collection' + installModules: 'true' + installCustomModule: 'false' + platformDockerTag: ${{ needs.build.outputs.imageTag }} + storefrontDockerTag: 'dev-linux-latest' + secrets: + envPAT: ${{ secrets.REPO_TOKEN }} + katalonApiKey: ${{ secrets.KATALON_API_KEY }} \ No newline at end of file