Skip to content

chore: Upload container with serverless framework #1

chore: Upload container with serverless framework

chore: Upload container with serverless framework #1

Workflow file for this run

name: Continous Integration
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
ci:
name: Quality Checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=120 --statistics
- name: Test with pytest
run: |
pytest --cov --cov-report=xml