feat: add feature to send reminder email #47
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: Status Checks | |
on: push | |
permissions: | |
contents: read | |
jobs: | |
install-dependencies: | |
name: Install Deps | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set Up Environment and Cache Dependencies | |
uses: ./.github/actions/setup | |
with: | |
github-token: ${{ secrets.MACHINE_USER_PAT }} | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
path: | |
- functions/download_service | |
- functions/email_service | |
- . | |
needs: | |
- install-dependencies | |
concurrency: | |
group: test-${{ matrix.path }}-${{ github.workflow }}-${{ github.actor }}-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set Up Environment and load Cached Dependencies | |
uses: ./.github/actions/setup | |
- name: Install Dependencies | |
shell: bash | |
run: | | |
cd ${{ matrix.path }} | |
poetry install --with test | |
- name: Pytest | |
shell: bash | |
run: | | |
cd ${{ matrix.path }} | |
poetry run python -m pytest | |
- name: Coverage | |
shell: bash | |
run: | | |
cd ${{ matrix.path }} | |
poetry run coverage lcov | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
needs: | |
- install-dependencies | |
concurrency: | |
group: lint-${{ github.workflow }}-${{ github.actor }}-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set Up Environment and load Cached Dependencies | |
uses: ./.github/actions/setup | |
- name: Install Dependencies | |
shell: bash | |
run: poetry install --with lint | |
- name: Lint | |
shell: bash | |
run: poetry run pre-commit run --all-files | |
checkov: | |
name: Checkov | |
runs-on: ubuntu-latest | |
needs: | |
- install-dependencies | |
concurrency: | |
group: checkov-${{ github.workflow }}-${{ github.actor }}-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set Up Environment and load Cached Dependencies | |
uses: ./.github/actions/setup | |
- name: Install Dependencies | |
shell: bash | |
run: poetry install --with checkov | |
- name: Synthezise CDK templates | |
shell: bash | |
run: poetry run cdk synth | |
- name: Checkov | |
shell: bash | |
run: poetry run checkov --config-file .checkov --baseline .checkov.baseline |