Skip to content

Deadlock Solution

Deadlock Solution #48

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: integration test in lambda
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
# The type of runner that the job will run on
runs-on: ubuntu-latest
concurrency: 1
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
# already installed?
# - name: Install AWS Cli
# run: |
# set -e
# curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
# unzip awscliv2.zip
# sudo ./aws/install
# aws --version
- name: Check AWS Credentials
run: |
set -e
which aws
aws --debug sts get-caller-identity
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ap-southeast-2
- name: Run the integration test
run: |
set -e
cd $GITHUB_WORKSPACE/CICD
./deploy.sh
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ap-southeast-2
LAMBDA_FUNCTION: lambda_multiprocessing_ci