Skip to content

Commit 811bea0

Browse files
move env upwards to workflow
1 parent ff94477 commit 811bea0

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/actions/run-playwright-tests/action.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ runs:
3030
- name: Run specified tests
3131
shell: bash
3232
run: pytest -m ${{ inputs.marker_to_use }} --base-url=$URL_TO_USE --ignore=tests_utils/
33-
env:
34-
BCSS_PASS: ${{ secrets.BCSS_PASS }}
35-
ORACLE_DB: ${ ${{ secrets.ORACLE_DB }}/<REPLACE>/${{ inputs.bcss_cloud_environment }} }
36-
ORACLE_USERNAME: ${{ secrets.ORACLE_USERNAME }}
37-
ORACLE_PASS: ${{ secrets.ORACLE_PASS }}
38-
URL_TO_USE: ${ ${{ vars.CLOUD_ENV_URL }}/<REPLACE>/${{ inputs.bcss_cloud_environment }} }
3933
- uses: actions/upload-artifact@v4
4034
if: ${{ !cancelled() }}
4135
with:

.github/workflows/execute-tests.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,14 @@ jobs:
2222
- name: "Checkout code"
2323
uses: actions/checkout@v4
2424
- name: "Run Tests"
25+
id: run-tests
2526
uses: ./.github/actions/run-playwright-tests
2627
with:
2728
bcss_cloud_environment: "${{ inputs.bcss_cloud_environment }}"
2829
marker_to_use: "${{ inputs.marker_to_use }}"
30+
env:
31+
BCSS_PASS: "${{ secrets.BCSS_PASS }}"
32+
ORACLE_DB: ${ ${{ secrets.ORACLE_DB }}/<REPLACE>/${{ inputs.bcss_cloud_environment }} }
33+
ORACLE_USERNAME: ${{ secrets.ORACLE_USERNAME }}
34+
ORACLE_PASS: ${{ secrets.ORACLE_PASS }}
35+
URL_TO_USE: ${ ${{ vars.CLOUD_ENV_URL }}/<REPLACE>/${{ inputs.bcss_cloud_environment }} }

0 commit comments

Comments
 (0)