Skip to content

Commit

Permalink
do aws first for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
srh-sloan committed Dec 6, 2024
1 parent 205dba6 commit a538e5f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/just-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ jobs:
runs-on: ubuntu-latest
environment: ${{ inputs.python_e2e_copilot_environment }}
steps:

- name: Setup AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT }}:role/GithubCopilotDeploy
role-session-name: "${{ inputs.app_name }}_${{ inputs.environemnt }}_copilot_${{ steps.currentdatetime.outputs.datetime }}"
aws-region: eu-west-2
- name: Generate a token
id: generate_token
uses: actions/create-github-app-token@v1.6.4
Expand All @@ -119,13 +126,6 @@ jobs:
# working-directory: funding-service-design-e2e-checks
run: uv run --frozen playwright install --with-deps

- name: Setup AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT }}:role/GithubCopilotDeploy
role-session-name: "${{ inputs.app_name }}_${{ inputs.environemnt }}_copilot_${{ steps.currentdatetime.outputs.datetime }}"
aws-region: eu-west-2

- name: Run tests
# working-directory: funding-service-design-e2e-checks
run: uv run --frozen pytest --e2e-env ${{ inputs.copilot_environment }} --tracing=retain-on-failure
Expand Down

0 comments on commit a538e5f

Please sign in to comment.