Skip to content

Commit 5aeb2e5

Browse files
Allow just the story tests to be run
1 parent f5050dc commit 5aeb2e5

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/regression_tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ jobs:
103103
- name: Configure AWS Credentials
104104
uses: aws-actions/configure-aws-credentials@v5.0.0
105105
with:
106+
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/Eligibility-Signposting-API-E2E-Regression-Tests
106107
aws-region: eu-west-2
107-
role-to-assume: arn:aws:iam::448049830832:role/Eligibility-Signposting-API-E2E-Regression-Tests
108108

109109
- name: Regression Tests
110110
id: tests
@@ -113,8 +113,7 @@ jobs:
113113
ENVIRONMENT: ${{ inputs.environment }}
114114
PULL_REQUEST_ID: ${{ inputs.pull_request_id }}
115115
INPUT_TAG: ${{ inputs.tags }}
116-
run: echo Coming Soon!
117-
# run: make run-tests
116+
run: make run-tests
118117

119118
- name: force error on failure
120119
if: steps.tests.outcome != 'success'

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ pre-commit:
7777
poetry run pre-commit run --all-files
7878

7979
run-tests:
80-
poetry run pytest
80+
poetry run pytest tests/test_story_tests.py

0 commit comments

Comments
 (0)