File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,11 +45,13 @@ runs:
4545 echo "PR_NUMBER=${{ inputs.targetEnvironment }}" >> $GITHUB_ENV
4646
4747 - name : Run component tests
48+ if : inputs.testType == "component"
4849 shell : bash
4950 run : |
5051 make test-component
5152
5253 - name : Check if e2e tests should run
54+ if : inputs.testType == "e2e"
5355 id : check_e2e
5456 shell : bash
5557 env :
@@ -72,13 +74,15 @@ runs:
7274 echo "run_e2e=true" >> $GITHUB_OUTPUT
7375 fi
7476
75- - name : Install poetry
76- if : steps.check_e2e.outputs.run_e2e == 'true'
77+ - name : Install poetry and pytest
78+ if : inputs.testType == "e2e" && steps.check_e2e.outputs.run_e2e == 'true'
7779 shell : bash
78- run : pipx install poetry
80+ run : |
81+ pipx install poetry
82+ pip install pytest
7983
8084 - name : Run e2e tests
81- if : steps.check_e2e.outputs.run_e2e == 'true'
85+ if : inputs.testType == "e2e" && steps.check_e2e.outputs.run_e2e == 'true'
8286 shell : bash
8387 run : |
8488 make .internal-dev-test
Original file line number Diff line number Diff line change 11[
2- " acceptance"
2+ " component" ,
3+ " e2e"
34]
You can’t perform that action at this time.
0 commit comments