Skip to content

Update version

Update version #753

Workflow file for this run

# Build for 4dn-cloud-infra
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
name: Validate 4dn-cloud-infra stacks build successfully
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install
run: make build
- name: Mock
run: |
# Write a suitable config.json for (primitive) testing
mkdir custom
mkdir custom/aws_creds
echo {\"deploying_iam_user\": \"test\", \"ENCODED_ENV_NAME\": \"cgap-build\", \"account_number\": 123, \"app.kind\": \"cgap\"} > custom/config.json
echo {\"Auth0Client\": \"test\", \"Auth0Secret\": \"test\", \"ENCODED_SECRET\": \"test\", \"S3_ENCRYPT_KEY\": \"test\"} > custom/secrets.json
- name: Unit
run: |
make test
- name: Validate
run: |
# will not pass as of right now
# test locally
# make alpha
echo "Run 'make alpha' locally"