Skip to content

Commit

Permalink
Reordered CI steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
johncollinson2001 committed Sep 16, 2024
1 parent d94eba6 commit 5eb88c5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
with:
terraform_version: 1.9.3

- name: Login to Azure
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Terraform Init
run: terraform init -backend=true -backend-config="resource_group_name=rg-nhsbackup" -backend-config="storage_account_name=satfstate729585701" -backend-config="container_name=tfstate" -backend-config="key=terraform.tfstate"
working-directory: infrastructure
Expand All @@ -40,11 +45,6 @@ jobs:
terraform test
working-directory: tests/integration-tests

- name: Login to Azure
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Run End to End Tests
uses: cloudposse/github-action-terratest@main
with:
Expand Down

0 comments on commit 5eb88c5

Please sign in to comment.