Skip to content

created build and test pipeline #3

created build and test pipeline

created build and test pipeline #3

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: lint with flake8
run: |
pip install flake8
flake8 .
- name: run tests
run: |
pip install pytest
pytest