increase batch timeout to seven days #1021
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: SFN-WDL Integration Tests | |
on: | |
push | |
env: | |
LC_ALL: C.UTF-8 | |
LANG: C.UTF-8 | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
LOCALSTACK_API_KEY: ${{secrets.LOCALSTACK_API_KEY}} | |
# These specific values are mandatory, they are sent to lambda hard coded | |
AWS_SESSION_TOKEN: session-token | |
AWS_DEFAULT_REGION: us-east-1 | |
jobs: | |
linters: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.cache | |
key: ${{runner.os}}-cache | |
- name: Run linters | |
run: source scripts/init_ci_runner.sh && make lint | |
unit_tests: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.cache | |
key: ${{runner.os}}-cache | |
- name: Run tests | |
run: | | |
source scripts/init_ci_runner.sh | |
docker pull ghcr.io/chanzuckerberg/swipe:latest | |
make up | |
sleep 1 | |
make test | |
# TODO: re-enable once we fix the notifications bug https://github.com/chanzuckerberg/swipe/issues/92 | |
# localstack_tests: | |
# runs-on: ubuntu-20.04 | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@v2 | |
# - uses: actions/cache@v1 | |
# with: | |
# path: ~/.cache | |
# key: ${{runner.os}}-cache | |
# - name: Run tests | |
# run: | | |
# source scripts/init_ci_runner.sh | |
# docker pull ghcr.io/chanzuckerberg/swipe:latest | |
# make localstack-test | |
terraform_format: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.cache | |
key: ${{runner.os}}-cache | |
- name: Check Terraform Format | |
run: | | |
make format | |
git diff --exit-code | |