chore: separate projects

This commit is contained in:
Dariusz Majcherczyk 2024-03-07 18:06:59 +01:00
parent b7ed5a22e1
commit 1dcecb30ee
No known key found for this signature in database
GPG Key ID: C42DFD2F046CA415

View File

@ -176,7 +176,6 @@ jobs:
name: '(CI) check if e2e needed' name: '(CI) check if e2e needed'
outputs: outputs:
run-tests: ${{ steps.check-test.outputs.e2e-needed }} run-tests: ${{ steps.check-test.outputs.e2e-needed }}
if: ${{ steps.check-test.outputs.e2e-needed == true }}
steps: steps:
- name: Check branch - name: Check branch
id: check-test id: check-test
@ -197,9 +196,9 @@ jobs:
cypress: cypress:
needs: [build-sources, check-e2e-needed] needs: [build-sources, check-e2e-needed]
name: '(CI) cypress' name: '(CI) cypress'
if: ${{ needs.check-e2e-needed.outputs.run-tests == 'true' }}
uses: ./.github/workflows/cypress-run.yml uses: ./.github/workflows/cypress-run.yml
secrets: inherit secrets: inherit
if: needs.check-e2e-needed.outputs.run-tests == 'true' && contains(needs.build-sources.outputs.projects, 'governance-e2e') && contains(needs.build-sources.outputs.projects, 'explorer-e2e')
with: with:
projects: ${{ needs.build-sources.outputs.projects-e2e }} projects: ${{ needs.build-sources.outputs.projects-e2e }}
tags: '@smoke' tags: '@smoke'