Skip to content

Make s3 bucket name and s3 region required parameters in dashboard wr… #286

Make s3 bucket name and s3 region required parameters in dashboard wr…

Make s3 bucket name and s3 region required parameters in dashboard wr… #286

name: Continuous Integration
on:
push:
pull_request:
types: [labeled, opened, synchronize]
jobs:
lint_check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Lint Check
run: |
chmod +x ./.github/workflow_scripts/lint_check.sh && ./.github/workflow_scripts/lint_check.sh
run_tests:
needs: lint_check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
python3 -m pip install -r requirements.txt
- name: Run Dashboard Tests
run: |
chmod +x ./.github/workflow_scripts/test_dashboard.sh && ./.github/workflow_scripts/test_dashboard.sh
- name: Archive code coverage results
uses: actions/upload-artifact@v3
with:
name: code-coverage-report
path: ./coverage.json
run_coverage_check:
needs: run_tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Download code coverage results
uses: actions/download-artifact@v3
with:
name: code-coverage-report
- name: Run Unittests Coverage Check
run: |
chmod +x ./.github/workflow_scripts/test_coverage.sh && ./.github/workflow_scripts/test_coverage.sh