name: Test Action on: [push, pull_request, workflow_dispatch] jobs: TestAction: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v1 - name: Run Action uses: ./ with: directory: test_project environment: test env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: us-east-1