Skip to content

Commit

Permalink
Update opt out triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeah committed Aug 7, 2024
1 parent 8597aba commit ce51583
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/opt-out-import-test-integration.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Integration test that triggers an Opt Out import in the test environment and
# Integration test that triggers an Opt Out import in the test environment and
# verifies the imported data in the test database.
name: opt-out-import test integration

Expand All @@ -8,14 +8,15 @@ on:
- .github/workflows/opt-out-import-test-integration.yml
- .github/workflows/opt-out-import-test-deploy.yml
- optout/**
- bcda/suppression/**
- bcda/lambda/optout/**
workflow_dispatch:

# Ensure we have only one integration test running at a time
concurrency:
group: opt-out-import-test-integration

jobs:

# Deploy first if triggered by pull_request
deploy:
if: ${{ github.event_name == 'pull_request' }}
Expand Down Expand Up @@ -54,11 +55,11 @@ jobs:
echo "FILENAME=$fname" >> "$GITHUB_OUTPUT"
aws s3 cp ../shared_files/synthetic1800MedicareFiles/test/T\#EFT.ON.ACO.NGD1800.DPRF.D181120.T1000009 \
s3://bfd-test-eft/bfdeft01/bcda/in/test/$fname
verify:
needs: trigger
runs-on: self-hosted
env:
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: "true"
steps:
- uses: actions/checkout@v3
Expand All @@ -68,7 +69,7 @@ jobs:
role-to-assume: arn:aws:iam::${{ secrets.ACCOUNT_ID }}:role/delegatedadmin/developer/bcda-test-github-actions
- name: Install psql
run: |
sudo amazon-linux-extras install postgresql14
sudo amazon-linux-extras install postgresql14
- name: Get database credentials
uses: cmsgov/ab2d-bcda-dpc-platform/actions/aws-params-env-action@main
env:
Expand All @@ -94,4 +95,4 @@ jobs:
exit 1
fi
fi

0 comments on commit ce51583

Please sign in to comment.