restore Fargate port, Hub 4.0.2 - SU 4.0.0 OK #31
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: Test AWS CDK | |
# Controls when the action will run. | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
aws_cdk: | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: install npm | |
uses: actions/setup-node@v3 | |
- name: Install AWS CDK | |
shell: bash | |
run: npm install -g aws-cdk | |
- name: Install Requirements | |
shell: bash | |
run: | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install -r requirements.txt | |
- name: Run tests | |
shell: bash | |
run: | | |
cp example_config.yaml config.yaml | |
cp hub_docker/example_allowed_users hub_docker/allowed_users | |
pytest |