Skip to content

added two helper routes methods to Fast_API #22

added two helper routes methods to Fast_API

added two helper routes methods to Fast_API #22

name : Run Unit Tests
on:
push
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
# Setup
- name: Checkout Code from GitHub
uses: actions/checkout@v3
# Tests - Unit
- name: Install Dependencies (for tests - Unit)
uses: ./.github/actions/install-dependencies__unit
- name: Run Tests - Unit
#if : false
uses: ./.github/actions/run-tests__unit
with:
package_name : ${{ secrets.PACKAGE_NAME }}
# Tests - Integration
- name: Run Tests - Integration
#if : false
uses: ./.github/actions/run-tests__integration
with:
package_name : ${{ secrets.PACKAGE_NAME }}
# Tests - Docker
- name: Install Dependencies (for tests - Docker)
uses: ./.github/actions/install-dependencies__docker
- name: Run Tests - Docker
uses: ./.github/actions/run-tests__docker
with:
package_name : ${{ secrets.PACKAGE_NAME }}
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION : ${{ secrets.AWS_DEFAULT_REGION }}
AWS_ACCOUNT_ID : ${{ secrets.AWS_ACCOUNT_ID }}
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
# Tear Down
- name: Publish Code Coverage
uses: ./.github/actions/publish-coverage
with:
codecov_token : ${{ secrets.CODECOV_TOKEN }}