Skip to content

Update CI/CD Workflow #78

Update CI/CD Workflow

Update CI/CD Workflow #78

Workflow file for this run

name: CI
on:
push:
branches:
- main
- devin/**
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- name: Lint with flake8
run: |
source venv/bin/activate
flake8 .
- name: Run tests with pytest
run: |
source venv/bin/activate
pytest