Skip to content

Enhancement/backend ec2 integration #121

Enhancement/backend ec2 integration

Enhancement/backend ec2 integration #121

Workflow file for this run

# This workflow will install Python dependencies and run unit tests on Python 3.10
name: Python application
on:
push:
branches: '*'
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
env:
openai_key: ${{ secrets.OPENAI_KEY }}
rapid_api_key: ${{ secrets.RAPID_API_KEY }}
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
if [ -f dev-requirements.txt ]; then pip install -r dev-requirements.txt; fi
- name: Test with pytest
run: |
pytest -vvv
- name: type check with mypy
run: |
mypy .