Skip to content

Add CI/CD config

Add CI/CD config #1

Workflow file for this run

name: CI Pipeline
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
cache: 'pip'
- name: Create virtual environment
run: make venv/create
- name: Install dependencies
run: |
make venv/install/all
- name: Run linters
run: make lint
- name: Run tests
env:
PYTHONPATH: ${PYTHONPATH}:.
run: make test
- name: Upload coverage reports
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
fail_ci_if_error: true