Makefile CI #85
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Makefile CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
schedule: | |
- cron: '0 13 * * 1' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Free Disk Space (Ubuntu) | |
uses: jlumbroso/free-disk-space@main | |
with: | |
tool-cache: false | |
- name: Setup Nodejs | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- uses: hashicorp/setup-terraform@v3 | |
with: | |
terraform_version: 1.8.4 | |
terraform_wrapper: false | |
- name: Install LocalStack | |
run: pip install localstack awscli-local[ver1] terraform-local | |
- name: Pull the latest docker image | |
run: docker pull localstack/localstack-pro | |
- name: Execute tests | |
env: | |
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} | |
DEBUG: 1 | |
timeout-minutes: 100 | |
run: make test-ci-all |