Skip to content

Fix duplicate lines in sonarqube #68

Fix duplicate lines in sonarqube

Fix duplicate lines in sonarqube #68

name: opt-out-export integration tests
on:
push:
paths:
- .github/workflows/opt-out-export-test-integration.yml
- attribution-data-file-share/**
workflow_dispatch:
# Ensure we only have one integration test running at a time
concurrency:
group: opt-out-export-test-integration
jobs:
# Deploy first if triggered by push
deploy:
if: ${{ github.event_name == 'push' }}
uses: ./.github/workflows/opt-out-export-test-deploy.yml
secrets: inherit
trigger:
if: ${{ always() }}
needs: deploy
permissions:
contents: read
id-token: write
runs-on: ubuntu-latest
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
defaults:
run:
working-directory: ./attribution-data-file-share
steps:
- uses: aws-actions/configure-aws-credentials@v3
with:
aws-region: ${{ vars.AWS_REGION }}
role-to-assume: arn:aws:iam::${{ secrets.TEST_ACCOUNT_ID }}:role/delegatedadmin/developer/ab2d-test-github-actions
- name: Send event to trigger export lambda function
run: |
aws events put-events --entries file://test/events.json # TODO Add events.json matching rule for lambda trigger
# TODO Check bucket for export file