Skip to content

Add CI

Add CI #11

Workflow file for this run

name: Lint
on:
push:
branches:
- '*'
jobs:
lint:
name: Run Linting
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Copy .example.env to .env
run: cp .example.env .env
- name: Build images
run: make build
- name: Start services
run: make up
- name: Wait for app service to be ready
run: sleep 10
- name: Docker container log
run: docker compose logs
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r app/requirements.txt
- name: Run linting
run: |
make lint